JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StorePromotionView.h File Reference

The store's promotion-banner carousel. More...

import <UIKit/UIKit.h>
import "StorePackInfo.h"
Include dependency graph for StorePromotionView.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  <StorePromotionViewDelegate>
 Receives the carousel's banner-tap selections. More...
class  StorePromotionView
 A paging carousel of promotion banners with auto-advance and per-banner sample playback. More...

Detailed Description

The store's promotion-banner carousel.

Reconstructed from Ghidra program Jubeat (class StorePromotionView, image base 0x100000000). All

Ghidra address:
values are offsets relative to that image base.

The superclass is UIView, from the -initWithFrame:promotions: chain-up to -[UIView initWithFrame:] and the hitTest:withEvent: override. The view is a paging UIScrollView (a PagingScrollView, so neighbouring pages stay touchable) of banner views that auto-advances on a repeating timer. Each centred banner plays a downloaded video-thumbnail sound clip; a sample-play toggle button mutes or restores that playback.

The whole class branches only on UIDevice.currentDevice.userInterfaceIdiom (pad versus phone, checked at 0x1bb56c). There is no thema theme branch anywhere in the class.

The banner strip is a wrap-around carousel: the initialiser lays out count+2 banners (the real promotions followed by two duplicates) and -scrollViewDidScroll: teleports the offset across the seam so the strip appears infinite.