// // GJEffectManager::reset from 0xa080d8 to 0xa081ec (276 bytes) // // 6 xrefs: // > PlayLayer::loadDefaultColors @ 0x7056f0 // > LevelEditorLayer::onStopPlaytest @ 0x78e068 // > LevelEditorLayer::onPlaytest @ 0x79635c // > LevelEditorLayer::updateGameObjects @ 0x79e960 // > GJEffectManager::loadFromState @ 0xa1b82c // > @ 0xb7328 // // This function is hookable on this platform (idp: arm, 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 12:59:22 +0000 // _QWORD *__fastcall GJEffectManager::reset(GJEffectManager *this) { _QWORD *v2; // x0 _QWORD *v3; // x20 __int64 v4; // x2 __int64 v5; // x0 __int64 i; // x0 __int64 j; // x0 __int64 v8; // x0 __int64 v9; // x3 __int64 k; // x2 __int64 v11; // x0 if ( *((_QWORD *)this + 78) ) { v2 = *((_QWORD **)this + 77); if ( v2 ) { do { v3 = (_QWORD *)*v2; operator delete(v2); v2 = v3; } while ( v3 ); } v4 = *((_QWORD *)this + 76); v5 = 0; *((_QWORD *)this + 77) = 0; if ( v4 ) { do *(_QWORD *)(*((_QWORD *)this + 75) + 8 * v5++) = 0; while ( v5 != v4 ); } *((_QWORD *)this + 78) = 0; } cocos2d::CCDictionary::removeAllObjects(*((cocos2d::CCDictionary **)this + 70)); cocos2d::CCDictionary::removeAllObjects(*((cocos2d::CCDictionary **)this + 71)); cocos2d::CCDictionary::removeAllObjects(*((cocos2d::CCDictionary **)this + 41)); for ( i = 0; i != 8816; i += 8 ) *(_QWORD *)(*((_QWORD *)this + 80) + i) = 0; for ( j = 0; j != 80000; j += 8 ) *(_QWORD *)(*((_QWORD *)this + 72) + j) = 0; v8 = *((_QWORD *)this + 42); if ( v8 ) { v9 = *(_QWORD *)(v8 + 56); if ( v9 ) { for ( k = *(_QWORD *)(v9 + 288); ; k = *(_QWORD *)(k + 288) ) { v11 = *(_QWORD *)(v9 + 264); v9 = k; *(_BYTE *)(v11 + 320) = -1; *(_BYTE *)(v11 + 321) = -1; *(_BYTE *)(v11 + 322) = -1; *(_BYTE *)(v11 + 323) = -1; *(_BYTE *)(v11 + 324) = -1; *(_BYTE *)(v11 + 325) = -1; *(_QWORD *)(v11 + 336) = 0; *(_DWORD *)(v11 + 316) = 1132396544; if ( !k ) break; } } } GJEffectManager::resetEffects(this); return GJEffectManager::resetMoveActions(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source