{"type": "func", "start": 10948808, "end": 10948960, "name": "GJPathPage::unlockAnimationFinished", "pseudocode": "// \n// GJPathPage::unlockAnimationFinished from 0xa710c8 to 0xa71160 (152 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x4c6b0\n// > GJPathPage::playUnlockAnimation @ 0xa6e2e4\n// > <???> @ 0x122a770\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\nvoid GJPathPage::unlockAnimationFinished(GJPathPage *a1)\n{\n  int v1; // w1\n  GameStatsManager *v3; // x0\n  GJPathsLayer *m_pathsLayer; // x0\n  GJPathsLayer *v5; // x0\n  GJPathsLayer_vtbl *v6; // x2\n  GJPathPage *v7; // x0\n  GJPathPage_vtbl *v8; // x1\n  GJPathPage *v9; // x19\n  StatKey v10; // [xsp+28h] [xbp+28h]\n  GJPathsLayer *v11; // [xsp+28h] [xbp+28h]\n\n  v1 = a1->m_pathNumber + 29;\n  a1->m_animationPlaying = 0;\n  v10 = v1;\n  v3 = GameStatsManager::sharedState();\n  GameStatsManager::updateActivePath(v3, v10);\n  GJPathPage::onBack(a1, nullptr);\n  m_pathsLayer = a1->m_pathsLayer;\n  m_pathsLayer->m_exiting = 0;\n  GJPathsLayer::onClose(m_pathsLayer, nullptr);\n  v5 = GJPathsLayer::create();\n  v6 = v5->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v5->m_noElasticity = 1;\n  v11 = v5;\n  ((void (*)(void))v6->show)();\n  v7 = GJPathPage::create(a1->m_pathNumber, v11);\n  v8 = v7->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v7->m_noElasticity = 1;\n  v9 = v7;\n  ((void (*)(void))v8->show)();\n  GJPathPage::unlockAnimationStep3(v9);\n}", "assembly": "; \n; GJPathPage::unlockAnimationFinished from 0xa710c8 to 0xa71160 (152 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x4c6b0\n; > GJPathPage::playUnlockAnimation @ 0xa6e2e4\n; > <???> @ 0x122a770\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, 0xa710c8\nMOV             X29, SP                                                ; +0x4, 0xa710cc\nLDR             W1, [X0,#0x290]                                        ; +0x8, 0xa710d0\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0xc, 0xa710d4\nADD             W1, W1, #0x1D                                          ; +0x10, 0xa710d8\nSTRB            WZR, [X0,#0x294]                                       ; +0x14, 0xa710dc\nMOV             X19, X0                                                ; +0x18, 0xa710e0\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x1c, 0xa710e4\nBL              _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x20, 0xa710e8\nMOV             W20, #1                                                ; +0x24, 0xa710ec\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x28, 0xa710f0\nBL              _ZN16GameStatsManager16updateActivePathE7StatKey; GameStatsManager::updateActivePath(StatKey) ; +0x2c, 0xa710f4\nMOV             X0, X19; this                                          ; +0x30, 0xa710f8\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x34, 0xa710fc\nBL              _ZN10GJPathPage6onBackEPN7cocos2d8CCObjectE; GJPathPage::onBack(cocos2d::CCObject *) ; +0x38, 0xa71100\nLDR             X2, [X19,#0x288]                                       ; +0x3c, 0xa71104\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x40, 0xa71108\nMOV             X0, X2; this                                           ; +0x44, 0xa7110c\nSTRB            WZR, [X2,#0x288]                                       ; +0x48, 0xa71110\nBL              _ZN12GJPathsLayer7onCloseEPN7cocos2d8CCObjectE; GJPathsLayer::onClose(cocos2d::CCObject *) ; +0x4c, 0xa71114\nBL              _ZN12GJPathsLayer6createEv; GJPathsLayer::create(void) ; +0x50, 0xa71118\nLDR             X2, [X0]                                               ; +0x54, 0xa7111c\nSTRB            W20, [X0,#0x24C]                                       ; +0x58, 0xa71120\nSTR             X0, [X29,#0x30+var_8]                                  ; +0x5c, 0xa71124\nLDR             X2, [X2,#0x508]                                        ; +0x60, 0xa71128\nBLR             X2                                                     ; +0x64, 0xa7112c\nLDR             X1, [X29,#0x30+var_8]; int                             ; +0x68, 0xa71130\nLDR             W0, [X19,#0x290]; this                                 ; +0x6c, 0xa71134\nBL              _ZN10GJPathPage6createEiP12GJPathsLayer; GJPathPage::create(int,GJPathsLayer *) ; +0x70, 0xa71138\nLDR             X1, [X0]                                               ; +0x74, 0xa7113c\nSTRB            W20, [X0,#0x24C]                                       ; +0x78, 0xa71140\nMOV             X19, X0                                                ; +0x7c, 0xa71144\nLDR             X1, [X1,#0x508]                                        ; +0x80, 0xa71148\nBLR             X1                                                     ; +0x84, 0xa7114c\nMOV             X0, X19; this                                          ; +0x88, 0xa71150\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x8c, 0xa71154\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x90, 0xa71158\nB               _ZN10GJPathPage20unlockAnimationStep3Ev; GJPathPage::unlockAnimationStep3(void) ; +0x94, 0xa7115c", "xrefs": ["<???> @ 0x4c6b0", "GJPathPage::playUnlockAnimation @ 0xa6e2e4", "<???> @ 0x122a770"], "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"}