{"type": "func", "start": 4298868580, "end": 4298868740, "name": "GJPathRewardPopup::create", "pseudocode": "// \n// GJPathRewardPopup::create from 0x1003b8764 to 0x1003b8804 (160 bytes)\n// \n// 1 xrefs:\n// > GJPathsLayer::onPath @ 0x1003b8618\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\nGJPathRewardPopup *__fastcall GJPathRewardPopup::create(int a1)\n{\n  GJPathRewardPopup *v2; // x19\n\n  v2 = (GJPathRewardPopup *)operator new(0x280u);\n  FLAlertLayer::FLAlertLayer(v2);\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJPathRewardPopup_vtbl *)&off_1008104D8;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1008109F8;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100810A68;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100810A80;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100810AA0;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100810AC0;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100810AE8;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_100810B68;\n  v2->m_pathNumber = 0;\n  if ( GJPathRewardPopup::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(GJPathRewardPopup *))v2->~GJPathRewardPopup_0)(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; GJPathRewardPopup::create from 0x1003b8764 to 0x1003b8804 (160 bytes)\n; \n; 1 xrefs:\n; > GJPathsLayer::onPath @ 0x1003b8618\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003b8764\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003b8768\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003b876c\nMOV             X20, X0                                                ; +0xc, 0x1003b8770\nMOV             W0, #0x280; __sz                                       ; +0x10, 0x1003b8774\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1003b8778\nMOV             X19, X0                                                ; +0x18, 0x1003b877c\nBL              FLAlertLayer__FLAlertLayer                             ; +0x1c, 0x1003b8780\nADRL            X8, off_1008104D8                                      ; +0x20, 0x1003b8784\nSTR             X8, [X19]                                              ; +0x28, 0x1003b878c\nADD             X9, X8, #(off_1008109F8 - 0x1008104D8)                 ; +0x2c, 0x1003b8790\nADD             X10, X8, #(off_100810A68 - 0x1008104D8)                ; +0x30, 0x1003b8794\nSTP             X9, X10, [X19,#0x140]                                  ; +0x34, 0x1003b8798\nADD             X9, X8, #(off_100810A80 - 0x1008104D8)                 ; +0x38, 0x1003b879c\nADD             X10, X8, #(off_100810AA0 - 0x1008104D8)                ; +0x3c, 0x1003b87a0\nSTP             X9, X10, [X19,#0x150]                                  ; +0x40, 0x1003b87a4\nADD             X9, X8, #(off_100810AC0 - 0x1008104D8)                 ; +0x44, 0x1003b87a8\nSTR             X9, [X19,#0x160]                                       ; +0x48, 0x1003b87ac\nADD             X9, X8, #(off_100810AE8 - 0x1008104D8)                 ; +0x4c, 0x1003b87b0\nSTR             X9, [X19,#0x198]                                       ; +0x50, 0x1003b87b4\nADD             X8, X8, #(off_100810B68 - 0x1008104D8)                 ; +0x54, 0x1003b87b8\nSTR             X8, [X19,#0x1B0]                                       ; +0x58, 0x1003b87bc\nSTR             WZR, [X19,#0x278]                                      ; +0x5c, 0x1003b87c0\nMOV             X0, X19                                                ; +0x60, 0x1003b87c4\nMOV             X1, X20                                                ; +0x64, 0x1003b87c8\nBL              GJPathRewardPopup__init                                ; +0x68, 0x1003b87cc\nCBZ             W0, loc_1003B87E0                                      ; +0x6c, 0x1003b87d0\nMOV             X0, X19                                                ; +0x70, 0x1003b87d4\nBL              cocos2d__CCObject__autorelease                         ; +0x74, 0x1003b87d8\nB               loc_1003B87F4                                          ; +0x78, 0x1003b87dc\nLDR             X8, [X19]                                              ; +0x7c, 0x1003b87e0\nLDR             X8, [X8,#0x10]                                         ; +0x80, 0x1003b87e4\nMOV             X0, X19                                                ; +0x84, 0x1003b87e8\nBLR             X8                                                     ; +0x88, 0x1003b87ec\nMOV             X19, #0                                                ; +0x8c, 0x1003b87f0\nMOV             X0, X19                                                ; +0x90, 0x1003b87f4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x94, 0x1003b87f8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x98, 0x1003b87fc\nRET                                                                    ; +0x9c, 0x1003b8800", "xrefs": ["GJPathsLayer::onPath @ 0x1003b8618"], "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"}