{"type": "func", "start": 8769924, "end": 8770012, "name": "GJBaseGameLayer::triggerGravityChange", "pseudocode": "// \n// GJBaseGameLayer::triggerGravityChange from 0x85d184 to 0x85d1dc (88 bytes)\n// \n// 2 xrefs:\n// > EffectGameObject::triggerObject @ 0x76fba4\n// > <???> @ 0x4b030\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::triggerGravityChange(GJBaseGameLayer *a1, EffectGameObject *a2, int a3)\n{\n  if ( !a2->m_followCPP )\n  {\n    if ( !a2->m_targetPlayer2 )\n      a1->m_player1->m_gravityMod = a2->m_gravityValue;\n    if ( a2->m_targetPlayer1 )\n      return;\nLABEL_8:\n    a1->m_player2->m_gravityMod = a2->m_gravityValue;\n    return;\n  }\n  if ( a3 == 1 )\n  {\n    a1->m_player1->m_gravityMod = a2->m_gravityValue;\n    return;\n  }\n  if ( a3 == 2 )\n    goto LABEL_8;\n}", "assembly": "; \n; GJBaseGameLayer::triggerGravityChange from 0x85d184 to 0x85d1dc (88 bytes)\n; \n; 2 xrefs:\n; > EffectGameObject::triggerObject @ 0x76fba4\n; > <???> @ 0x4b030\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\nLDRB            W3, [X1,#0x686]                                        ; +0x0, 0x85d184\nCBZ             W3, loc_85D1A0                                         ; +0x4, 0x85d188\nCMP             W2, #1                                                 ; +0x8, 0x85d18c\nB.EQ            loc_85D1CC                                             ; +0xc, 0x85d190\nCMP             W2, #2                                                 ; +0x10, 0x85d194\nB.EQ            loc_85D1BC                                             ; +0x14, 0x85d198\nRET                                                                    ; +0x18, 0x85d19c\nLDRB            W2, [X1,#0x685]                                        ; +0x1c, 0x85d1a0\nCBNZ            W2, loc_85D1B4                                         ; +0x20, 0x85d1a4\nLDR             W3, [X1,#0x6B8]                                        ; +0x24, 0x85d1a8\nLDR             X2, [X0,#0xDF8]                                        ; +0x28, 0x85d1ac\nSTR             W3, [X2,#0xB54]                                        ; +0x2c, 0x85d1b0\nLDRB            W2, [X1,#0x684]                                        ; +0x30, 0x85d1b4\nCBNZ            W2, locret_85D19C                                      ; +0x34, 0x85d1b8\nLDR             W1, [X1,#0x6B8]                                        ; +0x38, 0x85d1bc\nLDR             X0, [X0,#0xE00]                                        ; +0x3c, 0x85d1c0\nSTR             W1, [X0,#0xB54]                                        ; +0x40, 0x85d1c4\nRET                                                                    ; +0x44, 0x85d1c8\nLDR             W1, [X1,#0x6B8]                                        ; +0x48, 0x85d1cc\nLDR             X0, [X0,#0xDF8]                                        ; +0x4c, 0x85d1d0\nSTR             W1, [X0,#0xB54]                                        ; +0x50, 0x85d1d4\nRET                                                                    ; +0x54, 0x85d1d8", "xrefs": ["EffectGameObject::triggerObject @ 0x76fba4", "<???> @ 0x4b030"], "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"}