{"type": "func", "start": 10948488, "end": 10948808, "name": "GJPathPage::create", "pseudocode": "// \n// GJPathPage::create from 0xa70f88 to 0xa710c8 (320 bytes)\n// \n// 3 xrefs:\n// > GJPathPage::unlockAnimationFinished @ 0xa71138\n// > GJPathsLayer::onPath @ 0xa71798\n// > <???> @ 0x3baa8\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 *GJPathPage::create(int a1, GJPathsLayer *a2)\n{\n  GJPathPage *v4; // x19\n\n  v4 = (GJPathPage *)operator new(0x2A0u);\n  cocos2d::CCLayerColor::CCLayerColor(v4);\n  v4->m_controlConnected = -1;\n  v4->m_joystickConnected = -1;\n  v4->m_buttonMenu = nullptr;\n  v4->m_alertProtocol = nullptr;\n  v4->m_scene = nullptr;\n  v4->m_reverseKeyBack = 0;\n  v4->m_mainLayer = nullptr;\n  v4->m_ZOrder = 0;\n  v4->m_noElasticity = 0;\n  v4->m_button1 = nullptr;\n  v4->m_button2 = nullptr;\n  v4->m_scrollingLayer = nullptr;\n  v4->m_containsBorder = 0;\n  v4->m_noAction = 0;\n  v4->m_forcePrioRegistered = 0;\n  v4->m_pathsLayer = nullptr;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJPathPage_vtbl *)&off_11EDFF0;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_11EE518;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_11EE588;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_11EE5A0;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_11EE5C0;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_11EE5E0;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_11EE608;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_11EE688;\n  v4->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_11EE6A8;\n  v4->GJPurchaseDelegate::__vftable = (GJPurchaseDelegate_vtbl *)&off_11EE6C0;\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    return v4;\n  }\n  else\n  {\n    v4->~GJPathPage_0(v4);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJPathPage::create from 0xa70f88 to 0xa710c8 (320 bytes)\n; \n; 3 xrefs:\n; > GJPathPage::unlockAnimationFinished @ 0xa71138\n; > GJPathsLayer::onPath @ 0xa71798\n; > <???> @ 0x3baa8\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,#var_30]!                                ; +0x0, 0xa70f88\nMOV             X29, SP                                                ; +0x4, 0xa70f8c\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x8, 0xa70f90\nMOV             W21, W0                                                ; +0xc, 0xa70f94\nMOV             X0, #0x2A0; unsigned __int64                           ; +0x10, 0xa70f98\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x14, 0xa70f9c\nMOV             X20, X1                                                ; +0x18, 0xa70fa0\nBL              _Znwm; operator new(ulong)                             ; +0x1c, 0xa70fa4\nMOV             X19, X0                                                ; +0x20, 0xa70fa8\nBL              _ZN7cocos2d12CCLayerColorC1Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0x24, 0xa70fac\nMOV             W3, #0xFFFFFFFF                                        ; +0x28, 0xa70fb0\nSTR             W3, [X19,#0x268]                                       ; +0x2c, 0xa70fb4\nSTR             W3, [X19,#0x270]                                       ; +0x30, 0xa70fb8\nADRP            X3, #_ZTV10GJPathPage_ptr@PAGE                         ; +0x34, 0xa70fbc\nSTR             XZR, [X19,#0x220]                                      ; +0x38, 0xa70fc0\nMOV             X0, X19; this                                          ; +0x3c, 0xa70fc4\nSTR             XZR, [X19,#0x228]                                      ; +0x40, 0xa70fc8\nMOV             W1, W21; int                                           ; +0x44, 0xa70fcc\nSTR             XZR, [X19,#0x230]                                      ; +0x48, 0xa70fd0\nMOV             X2, X20; GJPathsLayer *                                ; +0x4c, 0xa70fd4\nSTRB            WZR, [X19,#0x238]                                      ; +0x50, 0xa70fd8\nSTR             XZR, [X19,#0x240]                                      ; +0x54, 0xa70fdc\nSTR             WZR, [X19,#0x248]                                      ; +0x58, 0xa70fe0\nSTRB            WZR, [X19,#0x24C]                                      ; +0x5c, 0xa70fe4\nSTR             XZR, [X19,#0x250]                                      ; +0x60, 0xa70fe8\nSTR             XZR, [X19,#0x258]                                      ; +0x64, 0xa70fec\nSTR             XZR, [X19,#0x260]                                      ; +0x68, 0xa70ff0\nSTRB            WZR, [X19,#0x26C]                                      ; +0x6c, 0xa70ff4\nSTRB            WZR, [X19,#0x26D]                                      ; +0x70, 0xa70ff8\nSTRB            WZR, [X19,#0x274]                                      ; +0x74, 0xa70ffc\nLDR             X3, [X3,#_ZTV10GJPathPage_ptr@PAGEOFF]; `vtable for'GJPathPage ... ; +0x78, 0xa71000\nSTR             XZR, [X19,#0x288]                                      ; +0x7c, 0xa71004\nADD             X12, X3, #0x10                                         ; +0x80, 0xa71008\nADD             X11, X3, #0x538                                        ; +0x84, 0xa7100c\nADD             X10, X3, #0x5A8                                        ; +0x88, 0xa71010\nADD             X9, X3, #0x5C0                                         ; +0x8c, 0xa71014\nADD             X8, X3, #0x5E0                                         ; +0x90, 0xa71018\nADD             X7, X3, #0x600                                         ; +0x94, 0xa7101c\nADD             X6, X3, #0x628                                         ; +0x98, 0xa71020\nADD             X5, X3, #0x6A8                                         ; +0x9c, 0xa71024\nADD             X4, X3, #0x6C8                                         ; +0xa0, 0xa71028\nSTR             X12, [X19]                                             ; +0xa4, 0xa7102c\nADD             X3, X3, #0x6E0                                         ; +0xa8, 0xa71030\nSTR             X11, [X19,#0x140]                                      ; +0xac, 0xa71034\nSTR             X10, [X19,#0x148]                                      ; +0xb0, 0xa71038\nSTR             X9, [X19,#0x150]                                       ; +0xb4, 0xa7103c\nSTR             X8, [X19,#0x158]                                       ; +0xb8, 0xa71040\nSTR             X7, [X19,#0x160]                                       ; +0xbc, 0xa71044\nSTR             X6, [X19,#0x198]                                       ; +0xc0, 0xa71048\nSTR             X5, [X19,#0x1B0]                                       ; +0xc4, 0xa7104c\nSTR             X4, [X19,#0x278]                                       ; +0xc8, 0xa71050\nSTR             X3, [X19,#0x280]                                       ; +0xcc, 0xa71054\nSTR             WZR, [X19,#0x290]                                      ; +0xd0, 0xa71058\nSTRB            WZR, [X19,#0x294]                                      ; +0xd4, 0xa7105c\nSTR             WZR, [X19,#0x298]                                      ; +0xd8, 0xa71060\nBL              _ZN10GJPathPage4initEiP12GJPathsLayer; GJPathPage::init(int,GJPathsLayer *) ; +0xdc, 0xa71064\nUXTB            W0, W0                                                 ; +0xe0, 0xa71068\nCBZ             W0, loc_A7108C                                         ; +0xe4, 0xa7106c\nMOV             X0, X19; this                                          ; +0xe8, 0xa71070\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0xec, 0xa71074\nLDR             X21, [SP,#0x30+var_10]                                 ; +0xf0, 0xa71078\nMOV             X0, X19                                                ; +0xf4, 0xa7107c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xf8, 0xa71080\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xfc, 0xa71084\nRET                                                                    ; +0x100, 0xa71088\nLDR             X1, [X19]                                              ; +0x104, 0xa7108c\nMOV             X0, X19                                                ; +0x108, 0xa71090\nMOV             X19, #0                                                ; +0x10c, 0xa71094\nLDR             X1, [X1,#0x10]                                         ; +0x110, 0xa71098\nBLR             X1                                                     ; +0x114, 0xa7109c\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x118, 0xa710a0\nMOV             X0, X19                                                ; +0x11c, 0xa710a4\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x120, 0xa710a8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x124, 0xa710ac\nRET                                                                    ; +0x128, 0xa710b0\nMOV             X20, X0                                                ; +0x12c, 0xa710b4\nMOV             X0, X19; p                                             ; +0x130, 0xa710b8\nBL              _ZdlPv; operator delete(void *)                        ; +0x134, 0xa710bc\nMOV             X0, X20                                                ; +0x138, 0xa710c0\nBL              _Unwind_Resume                                         ; +0x13c, 0xa710c4", "xrefs": ["GJPathPage::unlockAnimationFinished @ 0xa71138", "GJPathsLayer::onPath @ 0xa71798", "<???> @ 0x3baa8"], "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"}