{"type": "func", "start": 4749766, "end": 4749844, "name": "GJBaseGameLayer::updateInternalCamOffsetY", "pseudocode": "// \n// GJBaseGameLayer::updateInternalCamOffsetY from 0x4879c6 to 0x487a14 (78 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::resetCamera @ 0x48807e\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::updateInternalCamOffsetY(GJBaseGameLayer *a1, float a2, float a3, float a4)\n{\n  GJGameState *p_m_gameState; // r0\n\n  a1->m_gameState.m_unkPoint27.y = a2;\n  p_m_gameState = &a1->m_gameState;\n  if ( a3 <= 0.0 )\n  {\n    GJGameState::stopTweenAction(p_m_gameState, 19);\n    a1->m_gameState.m_unkPoint26.y = a1->m_gameState.m_unkPoint27.y;\n  }\n  else\n  {\n    GJGameState::tweenValue(p_m_gameState, a1->m_gameState.m_unkPoint26.y, a2, 19, a3, 1, a4, -1, -1);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateInternalCamOffsetY from 0x4879c6 to 0x487a14 (78 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::resetCamera @ 0x48807e\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, 0x4879c6\nPUSH            {R4,R5,LR}                                             ; +0x4, 0x4879ca\nVCMPE.F32       S15, #0.0                                              ; +0x6, 0x4879cc\nMOV             R4, R0                                                 ; +0xa, 0x4879d0\nSUB             SP, SP, #0x1C                                          ; +0xc, 0x4879d2\nMOV             R5, R1                                                 ; +0xe, 0x4879d4\nSTR.W           R1, [R4,#0x22C]                                        ; +0x10, 0x4879d6\nADD.W           R0, R0, #0x148; this                                   ; +0x14, 0x4879da\nVMRS            APSR_nzcv, FPSCR                                       ; +0x18, 0x4879de\nBLE             loc_487A02                                             ; +0x1c, 0x4879e2\nSTR             R2, [SP,#0x1C+var_1C]; float                           ; +0x1e, 0x4879e4\nMOVS            R2, #1                                                 ; +0x20, 0x4879e6\nSTR             R3, [SP,#0x1C+var_14]; float                           ; +0x22, 0x4879e8\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x24, 0x4879ea\nSTR             R2, [SP,#0x1C+var_18]; int                             ; +0x28, 0x4879ee\nMOV             R2, R5; float                                          ; +0x2a, 0x4879f0\nSTR             R3, [SP,#0x1C+var_10]; int                             ; +0x2c, 0x4879f2\nSTR             R3, [SP,#0x1C+var_C]; int                              ; +0x2e, 0x4879f4\nMOVS            R3, #0x13; int                                         ; +0x30, 0x4879f6\nLDR.W           R1, [R4,#0x224]; float                                 ; +0x32, 0x4879f8\nBL              _ZN11GJGameState10tweenValueEffififii; GJGameState::tweenValue(float,float,int,float,int,float,int,int) ; +0x36, 0x4879fc\nB               loc_487A10                                             ; +0x3a, 0x487a00\nMOVS            R1, #0x13; int                                         ; +0x3c, 0x487a02\nBL              _ZN11GJGameState15stopTweenActionEi; GJGameState::stopTweenAction(int) ; +0x3e, 0x487a04\nLDR.W           R3, [R4,#0x22C]                                        ; +0x42, 0x487a08\nSTR.W           R3, [R4,#0x224]                                        ; +0x46, 0x487a0c\nADD             SP, SP, #0x1C                                          ; +0x4a, 0x487a10\nPOP             {R4,R5,PC}                                             ; +0x4c, 0x487a12", "xrefs": ["GJBaseGameLayer::resetCamera @ 0x48807e"], "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"}