{"type": "func", "start": 9850456, "end": 9850748, "name": "FollowRewardPage::create", "pseudocode": "// \n// FollowRewardPage::create from 0x964e58 to 0x964f7c (292 bytes)\n// \n// 2 xrefs:\n// > RewardsPage::onFreeStuff @ 0x934774\n// > <???> @ 0xaabb0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nFollowRewardPage *FollowRewardPage::create()\n{\n  FollowRewardPage *v0; // x19\n\n  v0 = (FollowRewardPage *)operator new(0x2A0u);\n  cocos2d::CCLayerColor::CCLayerColor(v0);\n  v0->m_controlConnected = -1;\n  v0->m_joystickConnected = -1;\n  v0->m_buttonMenu = nullptr;\n  v0->m_alertProtocol = nullptr;\n  v0->m_scene = nullptr;\n  v0->m_reverseKeyBack = 0;\n  v0->m_mainLayer = nullptr;\n  v0->m_ZOrder = 0;\n  v0->m_noElasticity = 0;\n  v0->m_button1 = nullptr;\n  v0->m_button2 = nullptr;\n  v0->m_scrollingLayer = nullptr;\n  v0->m_containsBorder = 0;\n  v0->m_noAction = 0;\n  v0->m_forcePrioRegistered = 0;\n  v0->m_chests = nullptr;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (FollowRewardPage_vtbl *)&off_11BCC50;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_11BD188;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_11BD1F8;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_11BD210;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_11BD230;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_11BD250;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_11BD278;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_11BD2F8;\n  v0->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_11BD318;\n  v0->GameRateDelegate::__vftable = (GameRateDelegate_vtbl *)&off_11BD330;\n  v0->RewardedVideoDelegate::__vftable = (RewardedVideoDelegate_vtbl *)&off_11BD348;\n  v0->m_videoPlaying = 0;\n  if ( FollowRewardPage::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n    return v0;\n  }\n  else\n  {\n    v0->~FollowRewardPage_0(v0);\n    return nullptr;\n  }\n}", "assembly": "; \n; FollowRewardPage::create from 0x964e58 to 0x964f7c (292 bytes)\n; \n; 2 xrefs:\n; > RewardsPage::onFreeStuff @ 0x934774\n; > <???> @ 0xaabb0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x964e58\nMOV             X0, #0x2A0; unsigned __int64                           ; +0x4, 0x964e5c\nMOV             X29, SP                                                ; +0x8, 0x964e60\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x964e64\nBL              _Znwm; operator new(ulong)                             ; +0x10, 0x964e68\nMOV             X19, X0                                                ; +0x14, 0x964e6c\nBL              _ZN7cocos2d12CCLayerColorC1Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0x18, 0x964e70\nMOV             W1, #0xFFFFFFFF                                        ; +0x1c, 0x964e74\nSTR             W1, [X19,#0x268]                                       ; +0x20, 0x964e78\nSTR             W1, [X19,#0x270]                                       ; +0x24, 0x964e7c\nADRP            X1, #_ZTV16FollowRewardPage_ptr@PAGE                   ; +0x28, 0x964e80\nSTR             XZR, [X19,#0x220]                                      ; +0x2c, 0x964e84\nMOV             X0, X19; this                                          ; +0x30, 0x964e88\nSTR             XZR, [X19,#0x228]                                      ; +0x34, 0x964e8c\nSTR             XZR, [X19,#0x230]                                      ; +0x38, 0x964e90\nSTRB            WZR, [X19,#0x238]                                      ; +0x3c, 0x964e94\nSTR             XZR, [X19,#0x240]                                      ; +0x40, 0x964e98\nSTR             WZR, [X19,#0x248]                                      ; +0x44, 0x964e9c\nSTRB            WZR, [X19,#0x24C]                                      ; +0x48, 0x964ea0\nSTR             XZR, [X19,#0x250]                                      ; +0x4c, 0x964ea4\nSTR             XZR, [X19,#0x258]                                      ; +0x50, 0x964ea8\nSTR             XZR, [X19,#0x260]                                      ; +0x54, 0x964eac\nSTRB            WZR, [X19,#0x26C]                                      ; +0x58, 0x964eb0\nSTRB            WZR, [X19,#0x26D]                                      ; +0x5c, 0x964eb4\nSTRB            WZR, [X19,#0x274]                                      ; +0x60, 0x964eb8\nLDR             X1, [X1,#_ZTV16FollowRewardPage_ptr@PAGEOFF]; `vtable for'FollowRewardPage ... ; +0x64, 0x964ebc\nSTR             XZR, [X19,#0x290]                                      ; +0x68, 0x964ec0\nADD             X11, X1, #0x10                                         ; +0x6c, 0x964ec4\nADD             X10, X1, #0x548                                        ; +0x70, 0x964ec8\nADD             X9, X1, #0x5B8                                         ; +0x74, 0x964ecc\nADD             X8, X1, #0x5D0                                         ; +0x78, 0x964ed0\nADD             X7, X1, #0x5F0                                         ; +0x7c, 0x964ed4\nADD             X6, X1, #0x610                                         ; +0x80, 0x964ed8\nADD             X5, X1, #0x638                                         ; +0x84, 0x964edc\nADD             X4, X1, #0x6B8                                         ; +0x88, 0x964ee0\nADD             X3, X1, #0x6D8                                         ; +0x8c, 0x964ee4\nADD             X2, X1, #0x6F0                                         ; +0x90, 0x964ee8\nSTR             X11, [X19]                                             ; +0x94, 0x964eec\nADD             X1, X1, #0x708                                         ; +0x98, 0x964ef0\nSTR             X10, [X19,#0x140]                                      ; +0x9c, 0x964ef4\nSTR             X9, [X19,#0x148]                                       ; +0xa0, 0x964ef8\nSTR             X8, [X19,#0x150]                                       ; +0xa4, 0x964efc\nSTR             X7, [X19,#0x158]                                       ; +0xa8, 0x964f00\nSTR             X6, [X19,#0x160]                                       ; +0xac, 0x964f04\nSTR             X5, [X19,#0x198]                                       ; +0xb0, 0x964f08\nSTR             X4, [X19,#0x1B0]                                       ; +0xb4, 0x964f0c\nSTR             X3, [X19,#0x278]                                       ; +0xb8, 0x964f10\nSTR             X2, [X19,#0x280]                                       ; +0xbc, 0x964f14\nSTR             X1, [X19,#0x288]                                       ; +0xc0, 0x964f18\nSTRB            WZR, [X19,#0x298]                                      ; +0xc4, 0x964f1c\nBL              _ZN16FollowRewardPage4initEv; FollowRewardPage::init(void) ; +0xc8, 0x964f20\nUXTB            W0, W0                                                 ; +0xcc, 0x964f24\nCBZ             W0, loc_964F44                                         ; +0xd0, 0x964f28\nMOV             X0, X19; this                                          ; +0xd4, 0x964f2c\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0xd8, 0x964f30\nMOV             X0, X19                                                ; +0xdc, 0x964f34\nLDP             X19, X20, [SP,#var_s10]                                ; +0xe0, 0x964f38\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xe4, 0x964f3c\nRET                                                                    ; +0xe8, 0x964f40\nLDR             X1, [X19]                                              ; +0xec, 0x964f44\nMOV             X0, X19                                                ; +0xf0, 0x964f48\nMOV             X19, #0                                                ; +0xf4, 0x964f4c\nLDR             X1, [X1,#0x10]                                         ; +0xf8, 0x964f50\nBLR             X1                                                     ; +0xfc, 0x964f54\nMOV             X0, X19                                                ; +0x100, 0x964f58\nLDP             X19, X20, [SP,#var_s10]                                ; +0x104, 0x964f5c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x108, 0x964f60\nRET                                                                    ; +0x10c, 0x964f64\nMOV             X20, X0                                                ; +0x110, 0x964f68\nMOV             X0, X19; p                                             ; +0x114, 0x964f6c\nBL              _ZdlPv; operator delete(void *)                        ; +0x118, 0x964f70\nMOV             X0, X20                                                ; +0x11c, 0x964f74\nBL              _Unwind_Resume                                         ; +0x120, 0x964f78", "xrefs": ["RewardsPage::onFreeStuff @ 0x934774", "<???> @ 0xaabb0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}