{"type": "func", "start": 4297644348, "end": 4297644436, "name": "GJBaseGameLayer::triggerGravityChange", "pseudocode": "// \n// GJBaseGameLayer::triggerGravityChange from 0x10028d93c to 0x10028d994 (88 bytes)\n// \n// 1 xrefs:\n// > EffectGameObject::triggerObject @ 0x10042c320\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:01 +0000\n// \n\nfloat __fastcall GJBaseGameLayer::triggerGravityChange(__int64 a1, __int64 a2, int a3)\n{\n  float result; // s0\n  __int64 v4; // x8\n\n  if ( *(_BYTE *)(a2 + 1686) == 1 )\n  {\n    if ( a3 == 1 )\n    {\n      v4 = 3256;\n      goto LABEL_10;\n    }\n    if ( a3 != 2 )\n      return result;\nLABEL_8:\n    v4 = 3264;\nLABEL_10:\n    result = *(float *)(a2 + 1736);\n    *(float *)(*(_QWORD *)(a1 + v4) + 2852LL) = result;\n    return result;\n  }\n  if ( (*(_BYTE *)(a2 + 1685) & 1) == 0 )\n  {\n    result = *(float *)(a2 + 1736);\n    *(float *)(*(_QWORD *)(a1 + 3256) + 2852LL) = result;\n  }\n  if ( (*(_BYTE *)(a2 + 1684) & 1) == 0 )\n    goto LABEL_8;\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::triggerGravityChange from 0x10028d93c to 0x10028d994 (88 bytes)\n; \n; 1 xrefs:\n; > EffectGameObject::triggerObject @ 0x10042c320\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:01 +0000\n; \nLDRB            W8, [X1,#0x696]                                        ; +0x0, 0x10028d93c\nCMP             W8, #1                                                 ; +0x4, 0x10028d940\nB.NE            loc_10028D95C                                          ; +0x8, 0x10028d944\nCMP             W2, #1                                                 ; +0xc, 0x10028d948\nB.EQ            loc_10028D980                                          ; +0x10, 0x10028d94c\nCMP             W2, #2                                                 ; +0x14, 0x10028d950\nB.EQ            loc_10028D978                                          ; +0x18, 0x10028d954\nRET                                                                    ; +0x1c, 0x10028d958\nLDRB            W8, [X1,#0x695]                                        ; +0x20, 0x10028d95c\nTBNZ            W8, #0, loc_10028D970                                  ; +0x24, 0x10028d960\nLDR             X8, [X0,#0xCB8]                                        ; +0x28, 0x10028d964\nLDR             S0, [X1,#0x6C8]                                        ; +0x2c, 0x10028d968\nSTR             S0, [X8,#0xB24]                                        ; +0x30, 0x10028d96c\nLDRB            W8, [X1,#0x694]                                        ; +0x34, 0x10028d970\nTBNZ            W8, #0, locret_10028D958                               ; +0x38, 0x10028d974\nMOV             W8, #0xCC0                                             ; +0x3c, 0x10028d978\nB               loc_10028D984                                          ; +0x40, 0x10028d97c\nMOV             W8, #0xCB8                                             ; +0x44, 0x10028d980\nLDR             X8, [X0,X8]                                            ; +0x48, 0x10028d984\nLDR             S0, [X1,#0x6C8]                                        ; +0x4c, 0x10028d988\nSTR             S0, [X8,#0xB24]                                        ; +0x50, 0x10028d98c\nRET                                                                    ; +0x54, 0x10028d990", "xrefs": ["EffectGameObject::triggerObject @ 0x10042c320"], "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"}