{"type": "func", "start": 5371027632, "end": 5371027791, "name": "GJBaseGameLayer::updateMGOffsetY", "pseudocode": "// \n// GJBaseGameLayer::updateMGOffsetY from 0x1402360b0 to 0x14023614f (159 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::activateTriggerEffect @ 0x1402dd536\n// > EffectGameObject::triggerObject @ 0x1404a7608\n// > <???> @ 0x1406ce0b8\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  int v8; // [rsp+68h] [rbp+10h] 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_14024AC30(&a1->m_gameState.m_tweenActions, &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 0x1402360b0 to 0x14023614f (159 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::activateTriggerEffect @ 0x1402dd536\n; > EffectGameObject::triggerObject @ 0x1404a7608\n; > <???> @ 0x1406ce0b8\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\npush    rbx                                                            ; +0x0, 0x1402360b0\nsub     rsp, 50h                                                       ; +0x2, 0x1402360b2\nxorps   xmm0, xmm0                                                     ; +0x6, 0x1402360b6\nmovss   dword ptr [rcx+2C0h], xmm1                                     ; +0x9, 0x1402360b9\ncomiss  xmm2, xmm0                                                     ; +0x11, 0x1402360c1\nmov     rbx, rcx                                                       ; +0x14, 0x1402360c4\nmovss   dword ptr [rcx+2C4h], xmm2                                     ; +0x17, 0x1402360c7\njbe     short loc_140236124                                            ; +0x1f, 0x1402360cf\nmov     eax, [rsp+58h+arg_30]                                          ; +0x21, 0x1402360d1\nadd     rcx, 1A8h                                                      ; +0x28, 0x1402360d8\nmovss   xmm0, [rsp+58h+arg_20]                                         ; +0x2f, 0x1402360df\nmov     [rsp+58h+var_18], eax                                          ; +0x38, 0x1402360e8\nmov     eax, [rsp+58h+arg_28]                                          ; +0x3c, 0x1402360ec\nmov     [rsp+58h+var_20], eax                                          ; +0x43, 0x1402360f3\nmovss   [rsp+58h+var_28], xmm0                                         ; +0x47, 0x1402360f7\nmov     [rsp+58h+var_30], r9d                                          ; +0x4d, 0x1402360fd\nmov     r9d, 14h                                                       ; +0x52, 0x140236102\nmovss   [rsp+58h+var_38], xmm2                                         ; +0x58, 0x140236108\nmovaps  xmm2, xmm1                                                     ; +0x5e, 0x14023610e\nmovss   xmm1, dword ptr [rbx+2BCh]                                     ; +0x61, 0x140236111\ncall    GJGameState__tweenValue                                        ; +0x69, 0x140236119\nadd     rsp, 50h                                                       ; +0x6e, 0x14023611e\npop     rbx                                                            ; +0x72, 0x140236122\nretn                                                                   ; +0x73, 0x140236123\nadd     rcx, 428h                                                      ; +0x74, 0x140236124\nmov     [rsp+58h+arg_8], 14h                                           ; +0x7b, 0x14023612b\nlea     rdx, [rsp+58h+arg_8]                                           ; +0x83, 0x140236133\ncall    sub_14024AC30                                                  ; +0x88, 0x140236138\nmov     eax, [rbx+2C0h]                                                ; +0x8d, 0x14023613d\nmov     [rbx+2BCh], eax                                                ; +0x93, 0x140236143\nadd     rsp, 50h                                                       ; +0x99, 0x140236149\npop     rbx                                                            ; +0x9d, 0x14023614d\nretn                                                                   ; +0x9e, 0x14023614e", "xrefs": ["LevelEditorLayer::activateTriggerEffect @ 0x1402dd536", "EffectGameObject::triggerObject @ 0x1404a7608", "<???> @ 0x1406ce0b8"], "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"}