{"type": "func", "start": 4297692296, "end": 4297692428, "name": "GJBaseGameLayer::updateMGOffsetY", "pseudocode": "// \n// GJBaseGameLayer::updateMGOffsetY from 0x100299488 to 0x10029950c (132 bytes)\n// \n// 3 xrefs:\n// > sub_1003F823C @ 0x1003f8310\n// > sub_100402770 @ 0x100402a70\n// > EffectGameObject::triggerObject @ 0x10042bfa4\n// \n// This function is hookable on this platform (idp: arm, 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:02:07 +0000\n// \n\nfloat __fastcall GJBaseGameLayer::updateMGOffsetY(__int64 a1, int a2, int a3, int a4, float a5, float a6, float a7)\n{\n  float result; // s0\n  int v9; // [xsp+Ch] [xbp-14h] BYREF\n\n  *(float *)(a1 + 704) = a5;\n  *(float *)(a1 + 708) = a6;\n  if ( a6 <= 0.0 )\n  {\n    v9 = 20;\n    sub_10001BB58((_QWORD *)(a1 + 1016), &v9);\n    result = *(float *)(a1 + 704);\n    *(float *)(a1 + 700) = result;\n  }\n  else\n  {\n    sub_10027409C(a1 + 424, 20, a2, a3, a4, *(float *)(a1 + 700), a5, a6, a7);\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateMGOffsetY from 0x100299488 to 0x10029950c (132 bytes)\n; \n; 3 xrefs:\n; > sub_1003F823C @ 0x1003f8310\n; > sub_100402770 @ 0x100402a70\n; > EffectGameObject::triggerObject @ 0x10042bfa4\n; \n; This function is hookable on this platform (idp: arm, 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:02:07 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x100299488\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10029948c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100299490\nADD             X29, SP, #0x20                                         ; +0xc, 0x100299494\nFMOV            S3, S2                                                 ; +0x10, 0x100299498\nFMOV            S2, S1                                                 ; +0x14, 0x10029949c\nMOV             X19, X0                                                ; +0x18, 0x1002994a0\nSTR             S0, [X0,#0x2C0]                                        ; +0x1c, 0x1002994a4\nSTR             S1, [X0,#0x2C4]                                        ; +0x20, 0x1002994a8\nFCMP            S1, #0.0                                               ; +0x24, 0x1002994ac\nB.LE            loc_1002994E0                                          ; +0x28, 0x1002994b0\nMOV             X4, X3                                                 ; +0x2c, 0x1002994b4\nMOV             X3, X2                                                 ; +0x30, 0x1002994b8\nMOV             X2, X1                                                 ; +0x34, 0x1002994bc\nFMOV            S1, S0                                                 ; +0x38, 0x1002994c0\nLDR             S0, [X19,#0x2BC]                                       ; +0x3c, 0x1002994c4\nADD             X0, X19, #0x1A8                                        ; +0x40, 0x1002994c8\nMOV             W1, #0x14                                              ; +0x44, 0x1002994cc\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x48, 0x1002994d0\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x4c, 0x1002994d4\nADD             SP, SP, #0x30 ; '0'                                    ; +0x50, 0x1002994d8\nB               sub_10027409C                                          ; +0x54, 0x1002994dc\nMOV             W8, #0x14                                              ; +0x58, 0x1002994e0\nSTR             W8, [SP,#0x20+var_14]                                  ; +0x5c, 0x1002994e4\nADD             X0, X19, #0x3F8                                        ; +0x60, 0x1002994e8\nADD             X1, SP, #0x20+var_14                                   ; +0x64, 0x1002994ec\nBL              sub_10001BB58                                          ; +0x68, 0x1002994f0\nLDR             S0, [X19,#0x2C0]                                       ; +0x6c, 0x1002994f4\nSTR             S0, [X19,#0x2BC]                                       ; +0x70, 0x1002994f8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x74, 0x1002994fc\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x78, 0x100299500\nADD             SP, SP, #0x30 ; '0'                                    ; +0x7c, 0x100299504\nRET                                                                    ; +0x80, 0x100299508", "xrefs": ["sub_1003F823C @ 0x1003f8310", "sub_100402770 @ 0x100402a70", "EffectGameObject::triggerObject @ 0x10042bfa4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}