// // GJEffectManager::reset from 0x5cc648 to 0x5cc724 (220 bytes) // // 5 xrefs: // > PlayLayer::loadDefaultColors @ 0x40931c // > LevelEditorLayer::onStopPlaytest @ 0x462b7c // > LevelEditorLayer::onPlaytest @ 0x46826c // > LevelEditorLayer::updateGameObjects @ 0x46c924 // > GJEffectManager::loadFromState @ 0x5d2120 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:53:57 +0000 // _DWORD *__fastcall GJEffectManager::reset(GJEffectManager *this) { _DWORD *i; // r0 _DWORD *v3; // r5 _DWORD *v4; // r3 int j; // r3 int k; // r3 int v7; // r3 int v9; // r3 int v10; // r2 int v11; // r3 int v12; // r1 if ( *((_DWORD *)this + 104) ) { for ( i = *((_DWORD **)this + 103); i; i = v3 ) { v3 = (_DWORD *)*i; operator delete(i); } v4 = *((_DWORD **)this + 102); *((_DWORD *)this + 103) = 0; while ( i != v4 ) { *(_DWORD *)(*((_DWORD *)this + 101) + 4 * (_DWORD)i) = 0; i = (_DWORD *)((char *)i + 1); } *((_DWORD *)this + 104) = 0; } cocos2d::CCDictionary::removeAllObjects(*((cocos2d::CCDictionary **)this + 96)); cocos2d::CCDictionary::removeAllObjects(*((cocos2d::CCDictionary **)this + 97)); cocos2d::CCDictionary::removeAllObjects(*((cocos2d::CCDictionary **)this + 67)); for ( j = 0; j != 4408; j += 4 ) *(_DWORD *)(*((_DWORD *)this + 106) + j) = 0; for ( k = 0; k != 40000; k += 4 ) *(_DWORD *)(*((_DWORD *)this + 98) + k) = 0; v7 = *((_DWORD *)this + 68); if ( v7 ) { v9 = *(_DWORD *)(v7 + 52); if ( v9 ) v10 = *(_DWORD *)(v9 + 272); else v10 = 0; while ( v9 ) { v11 = *(_DWORD *)(v9 + 260); *(_DWORD *)(v11 + 264) = 1132396544; *(_WORD *)(v11 + 268) = -1; *(_WORD *)(v11 + 271) = -1; *(_BYTE *)(v11 + 270) = -1; *(_BYTE *)(v11 + 273) = -1; *(_DWORD *)(v11 + 284) = 0; if ( v10 ) v12 = *(_DWORD *)(v10 + 272); else v12 = 0; v9 = v10; v10 = v12; } } GJEffectManager::resetEffects((char ****)this); return GJEffectManager::resetMoveActions(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source