{"type": "func", "start": 4296956508, "end": 4296956544, "name": "GJBaseGameLayer::getOtherPlayer", "pseudocode": "// \n// GJBaseGameLayer::getOtherPlayer from 0x1001e5a5c to 0x1001e5a80 (36 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::destroyPlayer @ 0x10011eb60\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 *__fastcall GJBaseGameLayer::getOtherPlayer(GJBaseGameLayer *a1, PlayerObject *a2)\n{\n  __int64 v2; // x8\n\n  v2 = 3272;\n  if ( a2->m_uniqueID == a1->m_player1->m_uniqueID )\n    v2 = 3280;\n  return *(PlayerObject **)((char *)&a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                          + v2);\n}", "assembly": "; \n; GJBaseGameLayer::getOtherPlayer from 0x1001e5a5c to 0x1001e5a80 (36 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::destroyPlayer @ 0x10011eb60\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\nLDR             W8, [X1,#0x394]                                        ; +0x0, 0x1001e5a5c\nLDR             X9, [X0,#0xCC8]                                        ; +0x4, 0x1001e5a60\nLDR             W9, [X9,#0x394]                                        ; +0x8, 0x1001e5a64\nCMP             W8, W9                                                 ; +0xc, 0x1001e5a68\nMOV             W8, #0xCC8                                             ; +0x10, 0x1001e5a6c\nMOV             W9, #0xCD0                                             ; +0x14, 0x1001e5a70\nCSEL            X8, X9, X8, EQ                                         ; +0x18, 0x1001e5a74\nLDR             X0, [X0,X8]                                            ; +0x1c, 0x1001e5a78\nRET                                                                    ; +0x20, 0x1001e5a7c", "xrefs": ["PlayLayer::destroyPlayer @ 0x10011eb60"], "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"}