{"type": "func", "start": 4298878540, "end": 4298878680, "name": "GJPathPage::unlockAnimationFinished", "pseudocode": "// \n// GJPathPage::unlockAnimationFinished from 0x1003bae4c to 0x1003baed8 (140 bytes)\n// \n// 1 xrefs:\n// > GJPathPage::playUnlockAnimation @ 0x1003ba6fc\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 __fastcall GJPathPage::unlockAnimationFinished(GJPathPage *a1)\n{\n  int m_pathNumber; // w20\n  GameStatsManager *v3; // x0\n  cocos2d::CCObject *v4; // x1\n  GJPathsLayer *m_pathsLayer; // x0\n  cocos2d::CCObject *v6; // x1\n  GJPathsLayer *v7; // x20\n  GJPathPage *v8; // x19\n\n  a1->m_animationPlaying = 0;\n  m_pathNumber = a1->m_pathNumber;\n  v3 = GameStatsManager::sharedState();\n  GameStatsManager::updateActivePath(v3, (StatKey)(m_pathNumber + 29));\n  GJPathPage::onBack(a1, v4);\n  m_pathsLayer = a1->m_pathsLayer;\n  m_pathsLayer->m_exiting = 0;\n  GJPathsLayer::onClose(m_pathsLayer, v6);\n  v7 = GJPathsLayer::create();\n  v7->m_noElasticity = 1;\n  ((void (__fastcall *)(GJPathsLayer *))v7->show)(v7);\n  v8 = GJPathPage::create(a1->m_pathNumber, v7);\n  v8->m_noElasticity = 1;\n  ((void (__fastcall *)(GJPathPage *))v8->show)(v8);\n  GJPathPage::unlockAnimationStep3(v8);\n}", "assembly": "; \n; GJPathPage::unlockAnimationFinished from 0x1003bae4c to 0x1003baed8 (140 bytes)\n; \n; 1 xrefs:\n; > GJPathPage::playUnlockAnimation @ 0x1003ba6fc\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, 0x1003bae4c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003bae50\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003bae54\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003bae58\nMOV             X19, X0                                                ; +0x10, 0x1003bae5c\nSTRB            WZR, [X0,#0x294]                                       ; +0x14, 0x1003bae60\nLDR             W20, [X0,#0x290]                                       ; +0x18, 0x1003bae64\nBL              GameStatsManager__sharedState                          ; +0x1c, 0x1003bae68\nADD             W1, W20, #0x1D                                         ; +0x20, 0x1003bae6c\nBL              GameStatsManager__updateActivePath                     ; +0x24, 0x1003bae70\nMOV             X0, X19                                                ; +0x28, 0x1003bae74\nBL              GJPathPage__onBack                                     ; +0x2c, 0x1003bae78\nLDR             X0, [X19,#0x288]                                       ; +0x30, 0x1003bae7c\nSTRB            WZR, [X0,#0x288]                                       ; +0x34, 0x1003bae80\nBL              GJPathsLayer__onClose                                  ; +0x38, 0x1003bae84\nBL              GJPathsLayer__create                                   ; +0x3c, 0x1003bae88\nMOV             X20, X0                                                ; +0x40, 0x1003bae8c\nMOV             W21, #1                                                ; +0x44, 0x1003bae90\nSTRB            W21, [X0,#0x24C]                                       ; +0x48, 0x1003bae94\nLDR             X8, [X0]                                               ; +0x4c, 0x1003bae98\nLDR             X8, [X8,#0x508]                                        ; +0x50, 0x1003bae9c\nBLR             X8                                                     ; +0x54, 0x1003baea0\nLDR             W0, [X19,#0x290]                                       ; +0x58, 0x1003baea4\nMOV             X1, X20                                                ; +0x5c, 0x1003baea8\nBL              GJPathPage__create                                     ; +0x60, 0x1003baeac\nMOV             X19, X0                                                ; +0x64, 0x1003baeb0\nSTRB            W21, [X0,#0x24C]                                       ; +0x68, 0x1003baeb4\nLDR             X8, [X0]                                               ; +0x6c, 0x1003baeb8\nLDR             X8, [X8,#0x508]                                        ; +0x70, 0x1003baebc\nBLR             X8                                                     ; +0x74, 0x1003baec0\nMOV             X0, X19                                                ; +0x78, 0x1003baec4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x7c, 0x1003baec8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x80, 0x1003baecc\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x84, 0x1003baed0\nB               GJPathPage__unlockAnimationStep3                       ; +0x88, 0x1003baed4", "xrefs": ["GJPathPage::playUnlockAnimation @ 0x1003ba6fc"], "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"}