{"type": "func", "start": 5372112576, "end": 5372112735, "name": "GJBaseGameLayer::updateMGOffsetY", "pseudocode": "// \n// GJBaseGameLayer::updateMGOffsetY from 0x14033eec0 to 0x14033ef5f (159 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::activateTriggerEffect @ 0x1403fbf20\n// > EffectGameObject::triggerObject @ 0x1406490cd\n// > <???> @ 0x14091fd00\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:30:38 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::updateMGOffsetY(float *a1, float a2, float a3, int a4, int a5, int a6, int a7)\n{\n  __int64 v8; // rcx\n  __int64 result; // rax\n  int v10; // [rsp+68h] [rbp+10h] BYREF\n\n  a1[176] = a2;\n  v8 = (__int64)(a1 + 106);\n  a1[177] = a3;\n  if ( a3 > 0.0 )\n    return GJGameState::tweenValue(v8, a1[175], a2, 20, SLODWORD(a3), a4, a5, a6, a7);\n  v10 = 20;\n  sub_140355080(a1 + 266, &v10);\n  result = *((unsigned int *)a1 + 176);\n  *((_DWORD *)a1 + 175) = result;\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateMGOffsetY from 0x14033eec0 to 0x14033ef5f (159 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::activateTriggerEffect @ 0x1403fbf20\n; > EffectGameObject::triggerObject @ 0x1406490cd\n; > <???> @ 0x14091fd00\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:30:38 +0000\n; \npush    rbx                                                            ; +0x0, 0x14033eec0\nsub     rsp, 50h                                                       ; +0x2, 0x14033eec2\nmov     rbx, rcx                                                       ; +0x6, 0x14033eec6\nmovss   dword ptr [rcx+2C0h], xmm1                                     ; +0x9, 0x14033eec9\nadd     rcx, 1A8h                                                      ; +0x11, 0x14033eed1\nxorps   xmm0, xmm0                                                     ; +0x18, 0x14033eed8\ncomiss  xmm2, xmm0                                                     ; +0x1b, 0x14033eedb\nmovss   dword ptr [rbx+2C4h], xmm2                                     ; +0x1e, 0x14033eede\njbe     short loc_14033EF34                                            ; +0x26, 0x14033eee6\nmov     eax, [rsp+58h+arg_30]                                          ; +0x28, 0x14033eee8\nmovss   xmm0, [rsp+58h+arg_20]                                         ; +0x2f, 0x14033eeef\nmov     [rsp+58h+var_18], eax                                          ; +0x38, 0x14033eef8\nmov     eax, [rsp+58h+arg_28]                                          ; +0x3c, 0x14033eefc\nmov     [rsp+58h+var_20], eax                                          ; +0x43, 0x14033ef03\nmovss   [rsp+58h+var_28], xmm0                                         ; +0x47, 0x14033ef07\nmov     [rsp+58h+var_30], r9d                                          ; +0x4d, 0x14033ef0d\nmov     r9d, 14h                                                       ; +0x52, 0x14033ef12\nmovss   [rsp+58h+var_38], xmm2                                         ; +0x58, 0x14033ef18\nmovaps  xmm2, xmm1                                                     ; +0x5e, 0x14033ef1e\nmovss   xmm1, dword ptr [rbx+2BCh]                                     ; +0x61, 0x14033ef21\ncall    GJGameState__tweenValue                                        ; +0x69, 0x14033ef29\nadd     rsp, 50h                                                       ; +0x6e, 0x14033ef2e\npop     rbx                                                            ; +0x72, 0x14033ef32\nretn                                                                   ; +0x73, 0x14033ef33\nlea     rcx, [rbx+428h]                                                ; +0x74, 0x14033ef34\nmov     [rsp+58h+arg_8], 14h                                           ; +0x7b, 0x14033ef3b\nlea     rdx, [rsp+58h+arg_8]                                           ; +0x83, 0x14033ef43\ncall    sub_140355080                                                  ; +0x88, 0x14033ef48\nmov     eax, [rbx+2C0h]                                                ; +0x8d, 0x14033ef4d\nmov     [rbx+2BCh], eax                                                ; +0x93, 0x14033ef53\nadd     rsp, 50h                                                       ; +0x99, 0x14033ef59\npop     rbx                                                            ; +0x9d, 0x14033ef5d\nretn                                                                   ; +0x9e, 0x14033ef5e", "xrefs": ["LevelEditorLayer::activateTriggerEffect @ 0x1403fbf20", "EffectGameObject::triggerObject @ 0x1406490cd", "<???> @ 0x14091fd00"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}