{"type": "func", "start": 8902700, "end": 8902824, "name": "GJBaseGameLayer::updateMGOffsetY", "pseudocode": "// \n// GJBaseGameLayer::updateMGOffsetY from 0x87d82c to 0x87d8a8 (124 bytes)\n// \n// 5 xrefs:\n// > LevelEditorLayer::activateTriggerEffect @ 0x66d620\n// > LevelEditorLayer::updateGameObjects @ 0x67b428\n// > EffectGameObject::triggerObject @ 0x76fa94\n// > GJBaseGameLayer::resetLevelVariables @ 0x88aeac\n// > <???> @ 0x535f8\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::updateMGOffsetY(GJBaseGameLayer *a1, float a2, float a3, int a4, float a5, int a6, int a7)\n{\n  *(float *)&a1->m_gameState.m_unkInt3 = a2;\n  *(float *)&a1->m_gameState.m_unkInt4 = a3;\n  if ( a3 <= 0.0 )\n  {\n    GJGameState::stopTweenAction(&a1->m_gameState, 20);\n    LODWORD(a1->m_gameState.m_middleGroundOffsetY) = a1->m_gameState.m_unkInt3;\n  }\n  else\n  {\n    GJGameState::tweenValue(&a1->m_gameState, a1->m_gameState.m_middleGroundOffsetY, a2, 20, a3, a4, a5, a6, a7);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateMGOffsetY from 0x87d82c to 0x87d8a8 (124 bytes)\n; \n; 5 xrefs:\n; > LevelEditorLayer::activateTriggerEffect @ 0x66d620\n; > LevelEditorLayer::updateGameObjects @ 0x67b428\n; > EffectGameObject::triggerObject @ 0x76fa94\n; > GJBaseGameLayer::resetLevelVariables @ 0x88aeac\n; > <???> @ 0x535f8\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, 0x87d82c\nMOV             W6, W1                                                 ; +0x4, 0x87d830\nSTP             X29, X30, [SP,#var_20]!                                ; +0x8, 0x87d834\nFMOV            S1, S0; float                                          ; +0xc, 0x87d838\nMOV             W5, W2                                                 ; +0x10, 0x87d83c\nMOV             X29, SP                                                ; +0x14, 0x87d840\nFCMPE           S4, #0.0                                               ; +0x18, 0x87d844\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0x87d848\nMOV             W4, W3; int                                            ; +0x20, 0x87d84c\nSTR             S0, [X0,#0x2C0]                                        ; +0x24, 0x87d850\nSTR             S4, [X0,#0x2C4]                                        ; +0x28, 0x87d854\nFMOV            S3, S2; float                                          ; +0x2c, 0x87d858\nB.LE            loc_87D884                                             ; +0x30, 0x87d85c\nLDR             S0, [X0,#0x2BC]; float                                 ; +0x34, 0x87d860\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x38, 0x87d864\nFMOV            S2, S4; float                                          ; +0x3c, 0x87d868\nADD             X0, X0, #0x1A8; this                                   ; +0x40, 0x87d86c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x44, 0x87d870\nMOV             W1, #0x14; int                                         ; +0x48, 0x87d874\nMOV             W2, W6; int                                            ; +0x4c, 0x87d878\nMOV             W3, W5; int                                            ; +0x50, 0x87d87c\nB               _ZN11GJGameState10tweenValueEffififii; GJGameState::tweenValue(float,float,int,float,int,float,int,int) ; +0x54, 0x87d880\nMOV             X19, X0                                                ; +0x58, 0x87d884\nMOV             W1, #0x14; int                                         ; +0x5c, 0x87d888\nADD             X0, X0, #0x1A8; this                                   ; +0x60, 0x87d88c\nBL              _ZN11GJGameState15stopTweenActionEi; GJGameState::stopTweenAction(int) ; +0x64, 0x87d890\nLDR             W0, [X19,#0x2C0]                                       ; +0x68, 0x87d894\nSTR             W0, [X19,#0x2BC]                                       ; +0x6c, 0x87d898\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x70, 0x87d89c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x74, 0x87d8a0\nRET                                                                    ; +0x78, 0x87d8a4", "xrefs": ["LevelEditorLayer::activateTriggerEffect @ 0x66d620", "LevelEditorLayer::updateGameObjects @ 0x67b428", "EffectGameObject::triggerObject @ 0x76fa94", "GJBaseGameLayer::resetLevelVariables @ 0x88aeac", "<???> @ 0x535f8"], "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"}