{"type": "func", "start": 8900884, "end": 8901044, "name": "GJBaseGameLayer::resetStaticCamera", "pseudocode": "// \n// GJBaseGameLayer::resetStaticCamera from 0x87d114 to 0x87d1b4 (160 bytes)\n// \n// 4 xrefs:\n// > GJBaseGameLayer::animateOutGroundNew @ 0x87d33c\n// > GJBaseGameLayer::resetCamera @ 0x8802dc\n// > GJBaseGameLayer::loadStartPosObject @ 0x89d7e0\n// > <???> @ 0x36750\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 GJBaseGameLayer::resetStaticCamera(GJBaseGameLayer *a1, bool a2, bool a3)\n{\n  _BOOL4 v4; // w20\n  GJGameState *p_m_gameState; // x21\n\n  v4 = a3;\n  if ( a2 )\n  {\n    p_m_gameState = &a1->m_gameState;\n    GJGameState::stopTweenAction(&a1->m_gameState, 10);\n    GJGameState::stopTweenAction(p_m_gameState, 12);\n    a1->m_gameState.m_unkPoint6.x = 0.0;\n    a1->m_gameState.m_unkPoint8.x = 0.0;\n    a1->m_gameState.m_unkPoint17.x = 0.0;\n    a1->m_gameState.m_unkPoint18.x = 0.0;\n    a1->m_gameState.m_unkPoint22.x = 0.0;\n  }\n  if ( v4 )\n  {\n    GJGameState::stopTweenAction(&a1->m_gameState, 11);\n    GJGameState::stopTweenAction(&a1->m_gameState, 13);\n    a1->m_gameState.m_unkPoint6.y = 0.0;\n    a1->m_gameState.m_unkPoint8.y = 0.0;\n    a1->m_gameState.m_unkPoint17.y = 0.0;\n    a1->m_gameState.m_unkPoint18.y = 0.0;\n    a1->m_gameState.m_unkPoint22.y = 0.0;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::resetStaticCamera from 0x87d114 to 0x87d1b4 (160 bytes)\n; \n; 4 xrefs:\n; > GJBaseGameLayer::animateOutGroundNew @ 0x87d33c\n; > GJBaseGameLayer::resetCamera @ 0x8802dc\n; > GJBaseGameLayer::loadStartPosObject @ 0x89d7e0\n; > <???> @ 0x36750\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, 0x87d114\nUXTB            W1, W1                                                 ; +0x4, 0x87d118\nMOV             X29, SP                                                ; +0x8, 0x87d11c\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0xc, 0x87d120\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0x87d124\nMOV             X19, X0                                                ; +0x14, 0x87d128\nUXTB            W20, W2                                                ; +0x18, 0x87d12c\nCBNZ            W1, loc_87D17C                                         ; +0x1c, 0x87d130\nCBZ             W20, loc_87D16C                                        ; +0x20, 0x87d134\nADD             X20, X19, #0x1A8                                       ; +0x24, 0x87d138\nMOV             W1, #0xB; int                                          ; +0x28, 0x87d13c\nMOV             X0, X20; this                                          ; +0x2c, 0x87d140\nBL              _ZN11GJGameState15stopTweenActionEi; GJGameState::stopTweenAction(int) ; +0x30, 0x87d144\nMOV             X0, X20; this                                          ; +0x34, 0x87d148\nMOV             W1, #0xD; int                                          ; +0x38, 0x87d14c\nBL              _ZN11GJGameState15stopTweenActionEi; GJGameState::stopTweenAction(int) ; +0x3c, 0x87d150\nFMOV            S0, WZR                                                ; +0x40, 0x87d154\nSTR             S0, [X19,#0x1E4]                                       ; +0x44, 0x87d158\nSTR             S0, [X19,#0x1F4]                                       ; +0x48, 0x87d15c\nSTR             S0, [X19,#0x23C]                                       ; +0x4c, 0x87d160\nSTR             S0, [X19,#0x244]                                       ; +0x50, 0x87d164\nSTR             S0, [X19,#0x264]                                       ; +0x54, 0x87d168\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x58, 0x87d16c\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x5c, 0x87d170\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x60, 0x87d174\nRET                                                                    ; +0x64, 0x87d178\nADD             X21, X0, #0x1A8                                        ; +0x68, 0x87d17c\nMOV             W1, #0xA; int                                          ; +0x6c, 0x87d180\nMOV             X0, X21; this                                          ; +0x70, 0x87d184\nBL              _ZN11GJGameState15stopTweenActionEi; GJGameState::stopTweenAction(int) ; +0x74, 0x87d188\nMOV             X0, X21; this                                          ; +0x78, 0x87d18c\nMOV             W1, #0xC; int                                          ; +0x7c, 0x87d190\nBL              _ZN11GJGameState15stopTweenActionEi; GJGameState::stopTweenAction(int) ; +0x80, 0x87d194\nFMOV            S0, WZR                                                ; +0x84, 0x87d198\nSTR             S0, [X19,#0x1E0]                                       ; +0x88, 0x87d19c\nSTR             S0, [X19,#0x1F0]                                       ; +0x8c, 0x87d1a0\nSTR             S0, [X19,#0x238]                                       ; +0x90, 0x87d1a4\nSTR             S0, [X19,#0x240]                                       ; +0x94, 0x87d1a8\nSTR             S0, [X19,#0x260]                                       ; +0x98, 0x87d1ac\nB               loc_87D134                                             ; +0x9c, 0x87d1b0", "xrefs": ["GJBaseGameLayer::animateOutGroundNew @ 0x87d33c", "GJBaseGameLayer::resetCamera @ 0x8802dc", "GJBaseGameLayer::loadStartPosObject @ 0x89d7e0", "<???> @ 0x36750"], "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"}