{"type": "func", "start": 8902460, "end": 8902580, "name": "GJBaseGameLayer::updateCameraOffsetX", "pseudocode": "// \n// GJBaseGameLayer::updateCameraOffsetX from 0x87d73c to 0x87d7b4 (120 bytes)\n// \n// 5 xrefs:\n// > PlayLayer::playEndAnimationToPos @ 0x5cc138\n// > PlayLayer::playPlatformerEndAnimationToPos @ 0x5d17b4\n// > CameraTriggerGameObject::triggerObject @ 0x770530\n// > GJBaseGameLayer::resetCamera @ 0x880210\n// > <???> @ 0x80c10\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::updateCameraOffsetX(GJBaseGameLayer *a1, float a2, float a3, int a4, float a5, int a6, int a7)\n{\n  a1->m_gameState.m_unkPoint1.x = a2;\n  if ( a3 <= 0.0 )\n  {\n    GJGameState::stopTweenAction(&a1->m_gameState, 15);\n    a1->m_gameState.m_cameraOffset.x = a1->m_gameState.m_unkPoint1.x;\n  }\n  else\n  {\n    GJGameState::tweenValue(&a1->m_gameState, a1->m_gameState.m_cameraOffset.x, a2, 15, a3, a4, a5, a6, a7);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateCameraOffsetX from 0x87d73c to 0x87d7b4 (120 bytes)\n; \n; 5 xrefs:\n; > PlayLayer::playEndAnimationToPos @ 0x5cc138\n; > PlayLayer::playPlatformerEndAnimationToPos @ 0x5d17b4\n; > CameraTriggerGameObject::triggerObject @ 0x770530\n; > GJBaseGameLayer::resetCamera @ 0x880210\n; > <???> @ 0x80c10\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\nFMOV            S4, S1                                                 ; +0x0, 0x87d73c\nMOV             W6, W1                                                 ; +0x4, 0x87d740\nSTP             X29, X30, [SP,#var_20]!                                ; +0x8, 0x87d744\nFMOV            S1, S0; float                                          ; +0xc, 0x87d748\nMOV             W5, W2                                                 ; +0x10, 0x87d74c\nMOV             X29, SP                                                ; +0x14, 0x87d750\nFCMPE           S4, #0.0                                               ; +0x18, 0x87d754\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0x87d758\nMOV             W4, W3; int                                            ; +0x20, 0x87d75c\nSTR             S0, [X0,#0x1B8]                                        ; +0x24, 0x87d760\nFMOV            S3, S2; float                                          ; +0x28, 0x87d764\nB.LE            loc_87D790                                             ; +0x2c, 0x87d768\nLDR             S0, [X0,#0x1B0]; float                                 ; +0x30, 0x87d76c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x34, 0x87d770\nFMOV            S2, S4; float                                          ; +0x38, 0x87d774\nADD             X0, X0, #0x1A8; this                                   ; +0x3c, 0x87d778\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x40, 0x87d77c\nMOV             W1, #0xF; int                                          ; +0x44, 0x87d780\nMOV             W2, W6; int                                            ; +0x48, 0x87d784\nMOV             W3, W5; int                                            ; +0x4c, 0x87d788\nB               _ZN11GJGameState10tweenValueEffififii; GJGameState::tweenValue(float,float,int,float,int,float,int,int) ; +0x50, 0x87d78c\nMOV             X19, X0                                                ; +0x54, 0x87d790\nMOV             W1, #0xF; int                                          ; +0x58, 0x87d794\nADD             X0, X0, #0x1A8; this                                   ; +0x5c, 0x87d798\nBL              _ZN11GJGameState15stopTweenActionEi; GJGameState::stopTweenAction(int) ; +0x60, 0x87d79c\nLDR             W0, [X19,#0x1B8]                                       ; +0x64, 0x87d7a0\nSTR             W0, [X19,#0x1B0]                                       ; +0x68, 0x87d7a4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x6c, 0x87d7a8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x70, 0x87d7ac\nRET                                                                    ; +0x74, 0x87d7b0", "xrefs": ["PlayLayer::playEndAnimationToPos @ 0x5cc138", "PlayLayer::playPlatformerEndAnimationToPos @ 0x5d17b4", "CameraTriggerGameObject::triggerObject @ 0x770530", "GJBaseGameLayer::resetCamera @ 0x880210", "<???> @ 0x80c10"], "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"}