// // GJEffectManager::loadFromState from 0x5d2118 to 0x5d2386 (622 bytes) // // 1 xrefs: // > PlayLayer::loadFromCheckpoint @ 0x411a46 // // 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:54:05 +0000 // int __fastcall GJEffectManager::loadFromState(GJEffectManager *this, EffectManagerState *a2) { ColorAction *v4; // r0 int v5; // r6 int v6; // r7 int v7; // r0 int *v8; // r1 int *v9; // r8 _DWORD *i; // r2 _DWORD *j; // r3 unsigned int v12; // r1 char *v13; // r6 _DWORD *k; // r6 int *v15; // r0 GJEffectManager::reset(this); v4 = (ColorAction *)std::__hash_table,std::equal_to,std::allocator>::operator=( (_DWORD *)this + 163, (int)a2 + 236); v5 = 0; v6 = -252645135 * ((*((_DWORD *)a2 + 1) - *(_DWORD *)a2) >> 2); while ( v5 < v6 ) { v7 = ColorAction::create(v4); v8 = (int *)(*(_DWORD *)a2 + 68 * v5++); v9 = (int *)v7; ColorAction::loadFromState(v7, v8); GJEffectManager::setColorAction((cocos2d::CCDictionary **)this, (ColorAction *)v9, v9[22]); v4 = (ColorAction *)GJEffectManager::colorActionChanged(this, (ColorAction *)v9); } if ( (char *)this + 276 != (char *)a2 + 12 ) std::vector::assign( (_DWORD *)this + 69, *((char **)a2 + 3), *((char **)a2 + 4)); if ( (char *)this + 288 != (char *)a2 + 24 ) { *((_DWORD *)this + 76) = *((_DWORD *)a2 + 10); std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::__assign_multi>,void *> *>>( (_DWORD *)this + 72, *((int **)a2 + 8), nullptr); } for ( i = *((_DWORD **)this + 74); i; i = (_DWORD *)*i ) *(_DWORD *)(*((_DWORD *)this + 112) + 4 * (i[2] >> 5)) |= 1 << (i[2] & 0x1F); if ( (char *)this + 308 != (char *)a2 + 96 ) { *((_DWORD *)this + 81) = *((_DWORD *)a2 + 28); std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::__assign_multi,void *> *>>( (_DWORD *)this + 77, *((_DWORD **)a2 + 26), nullptr); } std::__hash_table,std::equal_to,std::allocator>::operator=( (_DWORD *)this + 155, (int)a2 + 64); for ( j = *((_DWORD **)this + 157); j; j = (_DWORD *)*j ) *(_DWORD *)(*((_DWORD *)this + 152) + 4 * (j[2] >> 5)) &= ~(1 << (j[2] & 0x1F)); if ( (char *)this + 640 != (char *)a2 + 84 ) std::__tree>::__assign_multi,std::__tree_node,void *> *,int>>( (int)this + 640, *((_DWORD *)a2 + 21), (int)a2 + 88); if ( (char *)this + 672 != (char *)a2 + 152 ) std::vector::assign( (int)this + 672, *((_DWORD *)a2 + 38), *((const void ***)a2 + 39)); if ( (char *)this + 720 != (char *)a2 + 204 ) std::vector::assign( (void **)this + 180, *((const GroupCommandObject2 **)a2 + 51), *((GroupCommandObject2 **)a2 + 52)); std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::operator=( (_DWORD *)this + 183, (int)a2 + 216); if ( (char *)this + 328 != (char *)a2 + 116 ) std::vector::assign( (int)this + 328, *((_DWORD *)a2 + 29), *((const void ***)a2 + 30)); if ( (char *)this + 340 != (char *)a2 + 44 ) { *((_DWORD *)this + 89) = *((_DWORD *)a2 + 15); std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::__assign_multi>,void *> *>>( (_DWORD *)this + 85, *((int **)a2 + 13), nullptr); } if ( (char *)this + 372 != (char *)a2 + 140 ) std::vector::assign( (char **)this + 93, *((_DWORD *)a2 + 35), *((const void ***)a2 + 36)); if ( (char *)this + 360 != (char *)a2 + 128 ) std::vector::assign( (int)this + 360, *((_DWORD *)a2 + 32), *((const void ***)a2 + 33)); if ( (char *)this + 404 != (char *)a2 + 184 ) { *((_DWORD *)this + 105) = *((_DWORD *)a2 + 50); std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::__assign_multi,void *> *>>( (_DWORD *)this + 101, *((int **)a2 + 48), nullptr); } std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::operator=( (_DWORD *)this + 115, (int)a2 + 164); GJEffectManager::transferPersistentItems(this, v12); v13 = *((char **)this + 143); *((_DWORD *)this + 130) = *((_DWORD *)a2 + 74); while ( v13 ) { if ( std::__hash_table,std::equal_to,std::allocator>::find( (_DWORD *)this + 125, (unsigned int *)v13 + 2) ) { v13 = *(char **)v13; } else { v13 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::erase( (_DWORD *)this + 141, (char **)v13); } } for ( k = *((_DWORD **)a2 + 66); k; k = (_DWORD *)*k ) { if ( !std::__hash_table,std::equal_to,std::allocator>::find( (_DWORD *)this + 125, k + 2) ) { v15 = std::unordered_map::operator[]((int)this + 564, k + 2); TimerItem::operator=((int)v15, (int)(k + 4)); } } if ( (char *)this + 584 != (char *)a2 + 276 ) { *((_DWORD *)this + 150) = *((_DWORD *)a2 + 73); std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::__assign_multi>,void *> *>>( (_DWORD *)this + 146, *((int **)a2 + 71), nullptr); } GJEffectManager::updateEffects(this, 0.0); GJEffectManager::calculateBaseActiveColors((int)this); return GJEffectManager::processInheritedColors((cocos2d::CCDictionary **)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source