{"type": "func", "start": 4296975072, "end": 4296975164, "name": "GJBaseGameLayer::removePlayer2", "pseudocode": "// \n// GJBaseGameLayer::removePlayer2 from 0x1001ea2e0 to 0x1001ea33c (92 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::toggleDualMode @ 0x1001e63f4\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 __fastcall GJBaseGameLayer::removePlayer2(GJBaseGameLayer *a1)\n{\n  ((void (__fastcall *)(PlayerObject *, __int64))a1->m_player2->removeFromParentAndCleanup)(a1->m_player2, 1);\n  ((void (__fastcall *)(PlayerObject *, _QWORD))a1->m_player2->setOpacity)(a1->m_player2, 0);\n  PlayerObject::releaseAllButtons(a1->m_player2);\n  PlayerObject::removeAllParticles(a1->m_player2);\n  PlayerObject::deactivateStreak(a1->m_player2, 1);\n}", "assembly": "; \n; GJBaseGameLayer::removePlayer2 from 0x1001ea2e0 to 0x1001ea33c (92 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::toggleDualMode @ 0x1001e63f4\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001ea2e0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001ea2e4\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001ea2e8\nMOV             X19, X0                                                ; +0xc, 0x1001ea2ec\nLDR             X0, [X0,#0xCD0]                                        ; +0x10, 0x1001ea2f0\nLDR             X8, [X0]                                               ; +0x14, 0x1001ea2f4\nLDR             X8, [X8,#0x200]                                        ; +0x18, 0x1001ea2f8\nMOV             W1, #1                                                 ; +0x1c, 0x1001ea2fc\nBLR             X8                                                     ; +0x20, 0x1001ea300\nLDR             X0, [X19,#0xCD0]                                       ; +0x24, 0x1001ea304\nLDR             X8, [X0]                                               ; +0x28, 0x1001ea308\nLDR             X8, [X8,#0x380]                                        ; +0x2c, 0x1001ea30c\nMOV             W1, #0                                                 ; +0x30, 0x1001ea310\nBLR             X8                                                     ; +0x34, 0x1001ea314\nLDR             X0, [X19,#0xCD0]                                       ; +0x38, 0x1001ea318\nBL              PlayerObject__releaseAllButtons                        ; +0x3c, 0x1001ea31c\nLDR             X0, [X19,#0xCD0]                                       ; +0x40, 0x1001ea320\nBL              PlayerObject__removeAllParticles                       ; +0x44, 0x1001ea324\nLDR             X0, [X19,#0xCD0]                                       ; +0x48, 0x1001ea328\nMOV             W1, #1                                                 ; +0x4c, 0x1001ea32c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x50, 0x1001ea330\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x54, 0x1001ea334\nB               PlayerObject__deactivateStreak                         ; +0x58, 0x1001ea338", "xrefs": ["GJBaseGameLayer::toggleDualMode @ 0x1001e63f4"], "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"}