// // PlayLayer::removeAllObjects from 0x14051b330 to 0x14051b504 (468 bytes) // // 5 xrefs: // > EndLevelLayer::onEdit @ 0x1402065f6 // > PlayLayer::setupHasCompleted @ 0x140505b19 // > @ 0x1408d776c // > @ 0x1408d77b4 // > @ 0x14092ae84 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:33:35 +0000 // void __fastcall PlayLayer::removeAllObjects(__int64 a1) { __int64 v1; // rax __int64 v3; // rdx __int64 v4; // rbx __int64 v5; // rbx float v6; // xmm6_4 bool v7; // zf float v8; // xmm1_4 __int64 v9; // rdx __int64 v10; // rbx __int64 v11; // rbx __int64 v12; // rax unsigned int *v13; // rdi __int64 v14; // rax _QWORD *v15; // rdi _QWORD *i; // rbp __int64 v17; // rbx v1 = *(_QWORD *)(a1 + 13888); *(_BYTE *)(a1 + 14840) = 0; (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 568) + 936LL))(*(_QWORD *)(v1 + 568), 0); LOBYTE(v3) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 3512) + 1160LL))(*(_QWORD *)(a1 + 3512), v3); v4 = *(_QWORD *)(a1 + 3512); if ( *(_BYTE *)(v4 + 2030) ) cocos2d::CCParticleSystem::stopSystem(*(cocos2d::CCParticleSystem **)(v4 + 2240)); *(_BYTE *)(v4 + 2030) = 0; v5 = *(_QWORD *)(a1 + 3512); cocos2d::CCMotionStreak::stopStroke(*(cocos2d::CCMotionStreak **)(v5 + 1960)); v6 = 0.2; if ( *(_BYTE *)(v5 + 2432) ) { v7 = *(_BYTE *)(v5 + 2028) == 0; *(_BYTE *)(v5 + 2432) = 0; if ( v7 ) v8 = 0.60000002; else v8 = 0.2; PlayerObject::fadeOutStreak2(v5, v8); } PlayerObject::toggleGhostEffect(*(_QWORD *)(a1 + 3512), 0); if ( *(_BYTE *)(a1 + 1058) ) { LOBYTE(v9) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 3520) + 1160LL))(*(_QWORD *)(a1 + 3520), v9); v10 = *(_QWORD *)(a1 + 3520); if ( *(_BYTE *)(v10 + 2030) ) cocos2d::CCParticleSystem::stopSystem(*(cocos2d::CCParticleSystem **)(v10 + 2240)); *(_BYTE *)(v10 + 2030) = 0; v11 = *(_QWORD *)(a1 + 3520); cocos2d::CCMotionStreak::stopStroke(*(cocos2d::CCMotionStreak **)(v11 + 1960)); if ( *(_BYTE *)(v11 + 2432) ) { v7 = *(_BYTE *)(v11 + 2028) == 0; *(_BYTE *)(v11 + 2432) = 0; if ( v7 ) v6 = 0.60000002; PlayerObject::fadeOutStreak2(v11, v6); } PlayerObject::toggleGhostEffect(*(_QWORD *)(a1 + 3520), 0); } v12 = *(_QWORD *)(a1 + 3536); if ( v12 ) { v13 = *(unsigned int **)(v12 + 56); v14 = *v13; if ( (_DWORD)v14 ) { v15 = *((_QWORD **)v13 + 2); for ( i = &v15[v14 - 1]; v15 <= i; ++v15 ) { v17 = *v15; if ( !*v15 ) break; LOBYTE(v9) = 1; (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)v17 + 1160LL))(*v15, v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)v17 + 728LL))(v17); } } } cocos2d::CCArray::removeAllObjects(*(cocos2d::CCArray **)(a1 + 3536)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source