{"type": "func", "start": 8757500, "end": 8757536, "name": "GJBaseGameLayer::getOtherPlayer", "pseudocode": "// \n// GJBaseGameLayer::getOtherPlayer from 0x85a0fc to 0x85a120 (36 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::destroyPlayer @ 0x5d2030\n// > GJBaseGameLayer::getGroundHeight @ 0x85a164\n// > GJBaseGameLayer::playerWillSwitchMode @ 0x88a240\n// > <???> @ 0x4a5e0\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\nPlayerObject *GJBaseGameLayer::getOtherPlayer(GJBaseGameLayer *a1, PlayerObject *a2)\n{\n  PlayerObject *result; // x0\n\n  result = a1->m_player1;\n  if ( a2->m_uniqueID == result->m_uniqueID )\n    return a1->m_player2;\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::getOtherPlayer from 0x85a0fc to 0x85a120 (36 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::destroyPlayer @ 0x5d2030\n; > GJBaseGameLayer::getGroundHeight @ 0x85a164\n; > GJBaseGameLayer::playerWillSwitchMode @ 0x88a240\n; > <???> @ 0x4a5e0\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\nMOV             X2, X0                                                 ; +0x0, 0x85a0fc\nLDR             X0, [X0,#0xDF8]                                        ; +0x4, 0x85a100\nLDR             W3, [X1,#0x384]                                        ; +0x8, 0x85a104\nLDR             W1, [X0,#0x384]                                        ; +0xc, 0x85a108\nCMP             W3, W1                                                 ; +0x10, 0x85a10c\nB.EQ            loc_85A118                                             ; +0x14, 0x85a110\nRET                                                                    ; +0x18, 0x85a114\nLDR             X0, [X2,#0xE00]                                        ; +0x1c, 0x85a118\nRET                                                                    ; +0x20, 0x85a11c", "xrefs": ["PlayLayer::destroyPlayer @ 0x5d2030", "GJBaseGameLayer::getGroundHeight @ 0x85a164", "GJBaseGameLayer::playerWillSwitchMode @ 0x88a240", "<???> @ 0x4a5e0"], "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"}