// // GJEffectManager::saveToState from 0x5d238c to 0x5d2592 (518 bytes) // // 1 xrefs: // > PlayLayer::createCheckpoint @ 0x411d82 // // 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:06 +0000 // void __fastcall GJEffectManager::saveToState(GJEffectManager *this, EffectManagerState *a2) { unsigned int v4; // r0 unsigned int v5; // r1 int v6; // r3 int v7; // r2 int v8; // r3 int v9; // r3 int v10; // r6 int v11; // r7 int v12; // r2 std::__hash_table,std::equal_to,std::allocator>::operator=( (_DWORD *)a2 + 59, (int)this + 652); v4 = cocos2d::CCDictionary::count(*((cocos2d::CCDictionary **)this + 67)); v5 = -252645135 * ((*((_DWORD *)a2 + 1) - *(_DWORD *)a2) >> 2); if ( v5 >= v4 ) { if ( v5 > v4 ) { v6 = *(_DWORD *)a2 + 68 * v4; while ( 1 ) { v7 = *((_DWORD *)a2 + 1); if ( v6 == v7 ) break; *((_DWORD *)a2 + 1) = v7 - 68; } } } else { std::vector::__append((void **)a2, v4 - v5); } v8 = *((_DWORD *)this + 67); if ( v8 ) { v9 = *(_DWORD *)(v8 + 52); if ( v9 ) v10 = *(_DWORD *)(v9 + 272); else v10 = 0; v11 = 0; while ( v9 ) { ColorAction::saveToState(*(_DWORD *)(v9 + 260), *(_DWORD *)a2 + v11); if ( v10 ) v12 = *(_DWORD *)(v10 + 272); else v12 = 0; v9 = v10; v11 += 68; v10 = v12; } } if ( (char *)a2 + 12 != (char *)this + 276 ) std::vector::assign( (_DWORD *)a2 + 3, *((char **)this + 69), *((char **)this + 70)); if ( (char *)a2 + 24 != (char *)this + 288 ) { *((_DWORD *)a2 + 10) = *((_DWORD *)this + 76); std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::__assign_multi>,void *> *>>( (_DWORD *)a2 + 6, *((int **)this + 74), nullptr); } if ( (char *)a2 + 96 != (char *)this + 308 ) { *((_DWORD *)a2 + 28) = *((_DWORD *)this + 81); std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::__assign_multi,void *> *>>( (_DWORD *)a2 + 24, *((_DWORD **)this + 79), nullptr); } std::__hash_table,std::equal_to,std::allocator>::operator=( (_DWORD *)a2 + 16, (int)this + 620); if ( (char *)a2 + 84 != (char *)this + 640 ) std::__tree>::__assign_multi,std::__tree_node,void *> *,int>>( (int)a2 + 84, *((_DWORD *)this + 160), (int)this + 644); if ( (char *)a2 + 152 != (char *)this + 672 ) std::vector::assign( (int)a2 + 152, *((_DWORD *)this + 168), *((const void ***)this + 169)); if ( (char *)a2 + 204 != (char *)this + 720 ) std::vector::assign( (void **)a2 + 51, *((const GroupCommandObject2 **)this + 180), *((GroupCommandObject2 **)this + 181)); std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::operator=( (_DWORD *)a2 + 54, (int)this + 732); if ( (char *)a2 + 116 != (char *)this + 328 ) std::vector::assign( (int)a2 + 116, *((_DWORD *)this + 82), *((const void ***)this + 83)); if ( (char *)a2 + 44 != (char *)this + 340 ) { *((_DWORD *)a2 + 15) = *((_DWORD *)this + 89); std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::__assign_multi>,void *> *>>( (_DWORD *)a2 + 11, *((int **)this + 87), nullptr); } if ( (char *)a2 + 140 != (char *)this + 372 ) std::vector::assign( (char **)a2 + 35, *((_DWORD *)this + 93), *((const void ***)this + 94)); if ( (char *)a2 + 128 != (char *)this + 360 ) std::vector::assign( (int)a2 + 128, *((_DWORD *)this + 90), *((const void ***)this + 91)); if ( (char *)a2 + 184 != (char *)this + 404 ) { *((_DWORD *)a2 + 50) = *((_DWORD *)this + 105); std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::__assign_multi,void *> *>>( (_DWORD *)a2 + 46, *((int **)this + 103), nullptr); } std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::operator=( (_DWORD *)a2 + 41, (int)this + 460); *((_DWORD *)a2 + 74) = *((_DWORD *)this + 130); if ( (char *)a2 + 256 != (char *)this + 564 ) { *((_DWORD *)a2 + 68) = *((_DWORD *)this + 145); std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::__assign_multi,void *> *>>( (_DWORD *)a2 + 64, *((int **)this + 143), nullptr); } if ( (char *)a2 + 276 != (char *)this + 584 ) { *((_DWORD *)a2 + 73) = *((_DWORD *)this + 150); std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::__assign_multi>,void *> *>>( (_DWORD *)a2 + 69, *((int **)this + 148), nullptr); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source