{"type": "func", "start": 4749688, "end": 4749766, "name": "GJBaseGameLayer::updateInternalCamOffsetX", "pseudocode": "// \n// GJBaseGameLayer::updateInternalCamOffsetX from 0x487978 to 0x4879c6 (78 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::resetCamera @ 0x48808a\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::updateInternalCamOffsetX(GJBaseGameLayer *a1, float a2, float a3, float a4)\n{\n  GJGameState *p_m_gameState; // r0\n\n  a1->m_gameState.m_unkPoint27.x = a2;\n  p_m_gameState = &a1->m_gameState;\n  if ( a3 <= 0.0 )\n  {\n    GJGameState::stopTweenAction(p_m_gameState, 18);\n    a1->m_gameState.m_unkPoint26.x = a1->m_gameState.m_unkPoint27.x;\n  }\n  else\n  {\n    GJGameState::tweenValue(p_m_gameState, a1->m_gameState.m_unkPoint26.x, a2, 18, a3, 1, a4, -1, -1);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateInternalCamOffsetX from 0x487978 to 0x4879c6 (78 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::resetCamera @ 0x48808a\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\nVMOV            S15, R2                                                ; +0x0, 0x487978\nPUSH            {R4,R5,LR}                                             ; +0x4, 0x48797c\nVCMPE.F32       S15, #0.0                                              ; +0x6, 0x48797e\nMOV             R4, R0                                                 ; +0xa, 0x487982\nSUB             SP, SP, #0x1C                                          ; +0xc, 0x487984\nMOV             R5, R1                                                 ; +0xe, 0x487986\nSTR.W           R1, [R4,#0x228]                                        ; +0x10, 0x487988\nADD.W           R0, R0, #0x148; this                                   ; +0x14, 0x48798c\nVMRS            APSR_nzcv, FPSCR                                       ; +0x18, 0x487990\nBLE             loc_4879B4                                             ; +0x1c, 0x487994\nSTR             R2, [SP,#0x1C+var_1C]; float                           ; +0x1e, 0x487996\nMOVS            R2, #1                                                 ; +0x20, 0x487998\nSTR             R3, [SP,#0x1C+var_14]; float                           ; +0x22, 0x48799a\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x24, 0x48799c\nSTR             R2, [SP,#0x1C+var_18]; int                             ; +0x28, 0x4879a0\nMOV             R2, R5; float                                          ; +0x2a, 0x4879a2\nSTR             R3, [SP,#0x1C+var_10]; int                             ; +0x2c, 0x4879a4\nSTR             R3, [SP,#0x1C+var_C]; int                              ; +0x2e, 0x4879a6\nMOVS            R3, #0x12; int                                         ; +0x30, 0x4879a8\nLDR.W           R1, [R4,#0x220]; float                                 ; +0x32, 0x4879aa\nBL              _ZN11GJGameState10tweenValueEffififii; GJGameState::tweenValue(float,float,int,float,int,float,int,int) ; +0x36, 0x4879ae\nB               loc_4879C2                                             ; +0x3a, 0x4879b2\nMOVS            R1, #0x12; int                                         ; +0x3c, 0x4879b4\nBL              _ZN11GJGameState15stopTweenActionEi; GJGameState::stopTweenAction(int) ; +0x3e, 0x4879b6\nLDR.W           R3, [R4,#0x228]                                        ; +0x42, 0x4879ba\nSTR.W           R3, [R4,#0x220]                                        ; +0x46, 0x4879be\nADD             SP, SP, #0x1C                                          ; +0x4a, 0x4879c2\nPOP             {R4,R5,PC}                                             ; +0x4c, 0x4879c4", "xrefs": ["GJBaseGameLayer::resetCamera @ 0x48808a"], "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"}