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

The in-app-purchase view for buying cubes (the in-game currency). More...

import <StoreKit/StoreKit.h>
import <UIKit/UIKit.h>
import "AlertViewManager.h"
import "CubePurchaseListView.h"
import "Downloader.h"
import "MessageTextView.h"
import "PurchaseManager.h"
Include dependency graph for CubePurchaseView.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  <CubePurchaseViewDelegate>
 What a CubePurchaseView tells its owner (the challenge-mode root view in the shipped tree). More...
class  CubePurchaseView
 A modal view that sells cubes: a scrollable product list backed by StoreKit, an age / spend-limit gate, and SPTL and cube-policy overlays. More...

Detailed Description

The in-app-purchase view for buying cubes (the in-game currency).

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

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

The superclass is UIView , from the objc_msgSendSuper2 initWithFrame: at 0x1c04c4 that targets _OBJC_CLASS_$_UIView .

The view lists cube products in a CubePurchaseListView , queries StoreKit through an SKProductsRequest , runs the purchase through PurchaseManager , validates the result with the server through a SessionDownloader , and shows policy and message overlays with a MessageTextView . Its aDelegate (the challenge-mode root view in the shipped tree) is sent closeCubePurchase , showPurchaseDialog: , hidePurchaseDialog , and refreshStatus ; the binary dispatches these dynamically over a bare id ivar, modelled here as the CubePurchaseViewDelegate protocol.