{"type": "func", "start": 5369994240, "end": 5369994513, "name": "FollowRewardPage::create", "pseudocode": "// \n// FollowRewardPage::create from 0x140139c00 to 0x140139d11 (273 bytes)\n// \n// 2 xrefs:\n// > RewardsPage::onFreeStuff @ 0x1403cdc99\n// > <???> @ 0x1406ca110\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\n// Hidden C++ exception states: #wind=1\nFollowRewardPage *FollowRewardPage::create()\n{\n  FollowRewardPage *v0; // rbx\n\n  v0 = (FollowRewardPage *)operator new(0x2A0u);\n  FLAlertLayer::FLAlertLayer(v0);\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (FollowRewardPage_vtbl *)&FollowRewardPage::`vftable';\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&FollowRewardPage::`vftable';\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&FollowRewardPage::`vftable';\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&FollowRewardPage::`vftable';\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&FollowRewardPage::`vftable';\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&FollowRewardPage::`vftable';\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&FollowRewardPage::`vftable';\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&FollowRewardPage::`vftable';\n  v0->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&FollowRewardPage::`vftable';\n  v0->GameRateDelegate::__vftable = (GameRateDelegate_vtbl *)&FollowRewardPage::`vftable';\n  v0->RewardedVideoDelegate::__vftable = (RewardedVideoDelegate_vtbl *)&FollowRewardPage::`vftable';\n  v0->m_chests = nullptr;\n  v0->m_videoPlaying = 0;\n  if ( FollowRewardPage::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n    return v0;\n  }\n  else\n  {\n    ((void (__fastcall *)(FollowRewardPage *, __int64))v0->~FollowRewardPage)(v0, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; FollowRewardPage::create from 0x140139c00 to 0x140139d11 (273 bytes)\n; \n; 2 xrefs:\n; > RewardsPage::onFreeStuff @ 0x1403cdc99\n; > <???> @ 0x1406ca110\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\npush    rbx                                                            ; +0x0, 0x140139c00\nsub     rsp, 20h                                                       ; +0x2, 0x140139c02\nmov     ecx, 2A0h; Size                                                ; +0x6, 0x140139c06\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x140139c0b\nmov     rbx, rax                                                       ; +0x10, 0x140139c10\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x140139c13\nmov     rcx, rax                                                       ; +0x18, 0x140139c18\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x1b, 0x140139c1b\nlea     rax, ??_7FollowRewardPage@@6B@; const FollowRewardPage::`vftable' ; +0x20, 0x140139c20\nmov     [rbx], rax                                                     ; +0x27, 0x140139c27\nlea     rax, ??_7FollowRewardPage@@6B@_0; const FollowRewardPage::`vftable' ; +0x2a, 0x140139c2a\nmov     [rbx+140h], rax                                                ; +0x31, 0x140139c31\nlea     rax, ??_7FollowRewardPage@@6B@_1; const FollowRewardPage::`vftable' ; +0x38, 0x140139c38\nmov     [rbx+148h], rax                                                ; +0x3f, 0x140139c3f\nlea     rax, ??_7FollowRewardPage@@6B@_2; const FollowRewardPage::`vftable' ; +0x46, 0x140139c46\nmov     [rbx+150h], rax                                                ; +0x4d, 0x140139c4d\nlea     rax, ??_7FollowRewardPage@@6B@_3; const FollowRewardPage::`vftable' ; +0x54, 0x140139c54\nmov     [rbx+158h], rax                                                ; +0x5b, 0x140139c5b\nlea     rax, ??_7FollowRewardPage@@6B@_4; const FollowRewardPage::`vftable' ; +0x62, 0x140139c62\nmov     [rbx+160h], rax                                                ; +0x69, 0x140139c69\nlea     rax, ??_7FollowRewardPage@@6B@_5; const FollowRewardPage::`vftable' ; +0x70, 0x140139c70\nmov     [rbx+198h], rax                                                ; +0x77, 0x140139c77\nlea     rax, ??_7FollowRewardPage@@6B@_6; const FollowRewardPage::`vftable' ; +0x7e, 0x140139c7e\nmov     [rbx+1B0h], rax                                                ; +0x85, 0x140139c85\nlea     rax, ??_7FollowRewardPage@@6B@_7; const FollowRewardPage::`vftable' ; +0x8c, 0x140139c8c\nmov     [rbx+278h], rax                                                ; +0x93, 0x140139c93\nlea     rax, ??_7FollowRewardPage@@6B@_8; const FollowRewardPage::`vftable' ; +0x9a, 0x140139c9a\nmov     [rbx+280h], rax                                                ; +0xa1, 0x140139ca1\nlea     rax, ??_7FollowRewardPage@@6B@_9; const FollowRewardPage::`vftable' ; +0xa8, 0x140139ca8\nmov     [rbx+288h], rax                                                ; +0xaf, 0x140139caf\nmov     qword ptr [rbx+290h], 0                                        ; +0xb6, 0x140139cb6\nmov     byte ptr [rbx+298h], 0                                         ; +0xc1, 0x140139cc1\nmov     rax, cs:off_140557280                                          ; +0xc8, 0x140139cc8\nlea     rcx, FollowRewardPage__init                                    ; +0xcf, 0x140139ccf\ncmp     rax, rcx                                                       ; +0xd6, 0x140139cd6\nmov     rcx, rbx                                                       ; +0xd9, 0x140139cd9\njnz     short loc_140139CE5                                            ; +0xdc, 0x140139cdc\ncall    FollowRewardPage__init                                         ; +0xde, 0x140139cde\njmp     short loc_140139CE7                                            ; +0xe3, 0x140139ce3\ncall    rax ; FollowRewardPage__init                                   ; +0xe5, 0x140139ce5\nmov     rcx, rbx                                                       ; +0xe7, 0x140139ce7\ntest    al, al                                                         ; +0xea, 0x140139cea\njz      short loc_140139CFD                                            ; +0xec, 0x140139cec\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xee, 0x140139cee\nmov     rax, rbx                                                       ; +0xf4, 0x140139cf4\nadd     rsp, 20h                                                       ; +0xf7, 0x140139cf7\npop     rbx                                                            ; +0xfb, 0x140139cfb\nretn                                                                   ; +0xfc, 0x140139cfc\nmov     r8, [rbx]                                                      ; +0xfd, 0x140139cfd\nmov     edx, 1                                                         ; +0x100, 0x140139d00\ncall    qword ptr [r8+8]                                               ; +0x105, 0x140139d05\nxor     eax, eax                                                       ; +0x109, 0x140139d09\nadd     rsp, 20h                                                       ; +0x10b, 0x140139d0b\npop     rbx                                                            ; +0x10f, 0x140139d0f\nretn                                                                   ; +0x110, 0x140139d10", "xrefs": ["RewardsPage::onFreeStuff @ 0x1403cdc99", "<???> @ 0x1406ca110"], "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"}