{"type": "func", "start": 4297053120, "end": 4297053252, "name": "GJBaseGameLayer::updateMGOffsetY", "pseudocode": "// \n// GJBaseGameLayer::updateMGOffsetY from 0x1001fd3c0 to 0x1001fd444 (132 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::updateGameObjects @ 0x100358674\n// > LevelEditorLayer::activateTriggerEffect @ 0x1003610a0\n// > EffectGameObject::triggerObject @ 0x1003859ac\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 __fastcall GJBaseGameLayer::updateMGOffsetY(\n        GJBaseGameLayer *a1,\n        float a2,\n        float a3,\n        int a4,\n        float a5,\n        int a6,\n        int a7)\n{\n  int v8; // [xsp+Ch] [xbp-14h] BYREF\n\n  *(float *)&a1->m_gameState.m_unkInt3 = a2;\n  *(float *)&a1->m_gameState.m_unkInt4 = a3;\n  if ( a3 <= 0.0 )\n  {\n    v8 = 20;\n    sub_10001B104(&a1->m_gameState.m_tweenActions.__table_.__bucket_list_.__ptr_.__value_, &v8);\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 0x1001fd3c0 to 0x1001fd444 (132 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::updateGameObjects @ 0x100358674\n; > LevelEditorLayer::activateTriggerEffect @ 0x1003610a0\n; > EffectGameObject::triggerObject @ 0x1003859ac\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x1001fd3c0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001fd3c4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001fd3c8\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001fd3cc\nFMOV            S3, S2                                                 ; +0x10, 0x1001fd3d0\nFMOV            S2, S1                                                 ; +0x14, 0x1001fd3d4\nMOV             X19, X0                                                ; +0x18, 0x1001fd3d8\nSTR             S0, [X0,#0x2C0]                                        ; +0x1c, 0x1001fd3dc\nSTR             S1, [X0,#0x2C4]                                        ; +0x20, 0x1001fd3e0\nFCMP            S1, #0.0                                               ; +0x24, 0x1001fd3e4\nB.LE            loc_1001FD418                                          ; +0x28, 0x1001fd3e8\nMOV             X4, X3                                                 ; +0x2c, 0x1001fd3ec\nMOV             X3, X2                                                 ; +0x30, 0x1001fd3f0\nMOV             X2, X1                                                 ; +0x34, 0x1001fd3f4\nFMOV            S1, S0                                                 ; +0x38, 0x1001fd3f8\nLDR             S0, [X19,#0x2BC]                                       ; +0x3c, 0x1001fd3fc\nADD             X0, X19, #0x1A8                                        ; +0x40, 0x1001fd400\nMOV             W1, #0x14                                              ; +0x44, 0x1001fd404\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x48, 0x1001fd408\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x4c, 0x1001fd40c\nADD             SP, SP, #0x30 ; '0'                                    ; +0x50, 0x1001fd410\nB               GJGameState__tweenValue                                ; +0x54, 0x1001fd414\nMOV             W8, #0x14                                              ; +0x58, 0x1001fd418\nSTR             W8, [SP,#0x20+var_14]                                  ; +0x5c, 0x1001fd41c\nADD             X0, X19, #0x3F8                                        ; +0x60, 0x1001fd420\nADD             X1, SP, #0x20+var_14                                   ; +0x64, 0x1001fd424\nBL              sub_10001B104                                          ; +0x68, 0x1001fd428\nLDR             S0, [X19,#0x2C0]                                       ; +0x6c, 0x1001fd42c\nSTR             S0, [X19,#0x2BC]                                       ; +0x70, 0x1001fd430\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x74, 0x1001fd434\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x78, 0x1001fd438\nADD             SP, SP, #0x30 ; '0'                                    ; +0x7c, 0x1001fd43c\nRET                                                                    ; +0x80, 0x1001fd440", "xrefs": ["LevelEditorLayer::updateGameObjects @ 0x100358674", "LevelEditorLayer::activateTriggerEffect @ 0x1003610a0", "EffectGameObject::triggerObject @ 0x1003859ac"], "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"}