{"type": "func", "start": 4650426, "end": 4650488, "name": "GJBaseGameLayer::removePlayer2", "pseudocode": "// \n// GJBaseGameLayer::removePlayer2 from 0x46f5ba to 0x46f5f8 (62 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::toggleDualMode @ 0x491868\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::removePlayer2(GJBaseGameLayer *a1)\n{\n  a1->m_player2->removeFromParentAndCleanup(a1->m_player2, 1);\n  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 0x46f5ba to 0x46f5f8 (62 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::toggleDualMode @ 0x491868\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\nPUSH            {R4,LR}                                                ; +0x0, 0x46f5ba\nMOV             R4, R0                                                 ; +0x2, 0x46f5bc\nLDR.W           R0, [R0,#0x8BC]                                        ; +0x4, 0x46f5be\nMOVS            R1, #1                                                 ; +0x8, 0x46f5c2\nLDR             R3, [R0]                                               ; +0xa, 0x46f5c4\nLDR.W           R3, [R3,#0x100]                                        ; +0xc, 0x46f5c6\nBLX             R3                                                     ; +0x10, 0x46f5ca\nLDR.W           R0, [R4,#0x8BC]                                        ; +0x12, 0x46f5cc\nMOVS            R1, #0                                                 ; +0x16, 0x46f5d0\nLDR             R3, [R0]                                               ; +0x18, 0x46f5d2\nLDR.W           R3, [R3,#0x1C0]                                        ; +0x1a, 0x46f5d4\nBLX             R3                                                     ; +0x1e, 0x46f5d8\nLDR.W           R0, [R4,#0x8BC]; this                                  ; +0x20, 0x46f5da\nBL              _ZN12PlayerObject17releaseAllButtonsEv; PlayerObject::releaseAllButtons(void) ; +0x24, 0x46f5de\nLDR.W           R0, [R4,#0x8BC]; this                                  ; +0x28, 0x46f5e2\nBL              _ZN12PlayerObject18removeAllParticlesEv; PlayerObject::removeAllParticles(void) ; +0x2c, 0x46f5e6\nLDR.W           R0, [R4,#0x8BC]; this                                  ; +0x30, 0x46f5ea\nMOVS            R1, #1; bool                                           ; +0x34, 0x46f5ee\nPOP.W           {R4,LR}                                                ; +0x36, 0x46f5f0\nB.W             _ZN12PlayerObject16deactivateStreakEb; PlayerObject::deactivateStreak(bool) ; +0x3a, 0x46f5f4", "xrefs": ["GJBaseGameLayer::toggleDualMode @ 0x491868"], "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"}