{"type": "func", "start": 4298868356, "end": 4298868560, "name": "GJPathPage::create", "pseudocode": "// \n// GJPathPage::create from 0x1003b8684 to 0x1003b8750 (204 bytes)\n// \n// 2 xrefs:\n// > GJPathsLayer::onPath @ 0x1003b85cc\n// > GJPathPage::unlockAnimationFinished @ 0x1003baeac\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\nGJPathPage *__fastcall GJPathPage::create(int a1, GJPathsLayer *a2)\n{\n  GJPathPage *v4; // x19\n\n  v4 = (GJPathPage *)operator new(0x2A0u);\n  FLAlertLayer::FLAlertLayer(v4);\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJPathPage_vtbl *)&off_10080FDA8;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1008102D0;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100810340;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100810358;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100810378;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100810398;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1008103C0;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_100810440;\n  v4->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_100810460;\n  v4->GJPurchaseDelegate::__vftable = (GJPurchaseDelegate_vtbl *)&off_100810478;\n  v4->m_pathsLayer = nullptr;\n  v4->m_pathNumber = 0;\n  v4->m_animationPlaying = 0;\n  v4->m_dialogIndex = 0;\n  if ( GJPathPage::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n  }\n  else\n  {\n    ((void (__fastcall *)(GJPathPage *))v4->~GJPathPage_0)(v4);\n    return nullptr;\n  }\n  return v4;\n}", "assembly": "; \n; GJPathPage::create from 0x1003b8684 to 0x1003b8750 (204 bytes)\n; \n; 2 xrefs:\n; > GJPathsLayer::onPath @ 0x1003b85cc\n; > GJPathPage::unlockAnimationFinished @ 0x1003baeac\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003b8684\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003b8688\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003b868c\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003b8690\nMOV             X20, X1                                                ; +0x10, 0x1003b8694\nMOV             X21, X0                                                ; +0x14, 0x1003b8698\nMOV             W0, #0x2A0; __sz                                       ; +0x18, 0x1003b869c\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x1003b86a0\nMOV             X19, X0                                                ; +0x20, 0x1003b86a4\nBL              FLAlertLayer__FLAlertLayer                             ; +0x24, 0x1003b86a8\nADRL            X8, off_10080FDA8                                      ; +0x28, 0x1003b86ac\nSTR             X8, [X19]                                              ; +0x30, 0x1003b86b4\nADD             X9, X8, #(off_1008102D0 - 0x10080FDA8)                 ; +0x34, 0x1003b86b8\nADD             X10, X8, #(off_100810340 - 0x10080FDA8)                ; +0x38, 0x1003b86bc\nSTP             X9, X10, [X19,#0x140]                                  ; +0x3c, 0x1003b86c0\nADD             X9, X8, #(off_100810358 - 0x10080FDA8)                 ; +0x40, 0x1003b86c4\nADD             X10, X8, #(off_100810378 - 0x10080FDA8)                ; +0x44, 0x1003b86c8\nSTP             X9, X10, [X19,#0x150]                                  ; +0x48, 0x1003b86cc\nADD             X9, X8, #(off_100810398 - 0x10080FDA8)                 ; +0x4c, 0x1003b86d0\nSTR             X9, [X19,#0x160]                                       ; +0x50, 0x1003b86d4\nADD             X9, X8, #(off_1008103C0 - 0x10080FDA8)                 ; +0x54, 0x1003b86d8\nSTR             X9, [X19,#0x198]                                       ; +0x58, 0x1003b86dc\nADD             X9, X8, #(off_100810440 - 0x10080FDA8)                 ; +0x5c, 0x1003b86e0\nSTR             X9, [X19,#0x1B0]                                       ; +0x60, 0x1003b86e4\nADD             X9, X8, #(off_100810460 - 0x10080FDA8)                 ; +0x64, 0x1003b86e8\nSTR             X9, [X19,#0x278]                                       ; +0x68, 0x1003b86ec\nADD             X8, X8, #(off_100810478 - 0x10080FDA8)                 ; +0x6c, 0x1003b86f0\nSTR             X8, [X19,#0x280]                                       ; +0x70, 0x1003b86f4\nSTR             XZR, [X19,#0x288]                                      ; +0x74, 0x1003b86f8\nSTR             WZR, [X19,#0x290]                                      ; +0x78, 0x1003b86fc\nSTRB            WZR, [X19,#0x294]                                      ; +0x7c, 0x1003b8700\nSTR             WZR, [X19,#0x298]                                      ; +0x80, 0x1003b8704\nMOV             X0, X19                                                ; +0x84, 0x1003b8708\nMOV             X1, X21                                                ; +0x88, 0x1003b870c\nMOV             X2, X20                                                ; +0x8c, 0x1003b8710\nBL              GJPathPage__init                                       ; +0x90, 0x1003b8714\nCBZ             W0, loc_1003B8728                                      ; +0x94, 0x1003b8718\nMOV             X0, X19                                                ; +0x98, 0x1003b871c\nBL              cocos2d__CCObject__autorelease                         ; +0x9c, 0x1003b8720\nB               loc_1003B873C                                          ; +0xa0, 0x1003b8724\nLDR             X8, [X19]                                              ; +0xa4, 0x1003b8728\nLDR             X8, [X8,#0x10]                                         ; +0xa8, 0x1003b872c\nMOV             X0, X19                                                ; +0xac, 0x1003b8730\nBLR             X8                                                     ; +0xb0, 0x1003b8734\nMOV             X19, #0                                                ; +0xb4, 0x1003b8738\nMOV             X0, X19                                                ; +0xb8, 0x1003b873c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xbc, 0x1003b8740\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xc0, 0x1003b8744\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xc4, 0x1003b8748\nRET                                                                    ; +0xc8, 0x1003b874c", "xrefs": ["GJPathsLayer::onPath @ 0x1003b85cc", "GJPathPage::unlockAnimationFinished @ 0x1003baeac"], "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"}