// // GJEffectManager::resetTempGroupCommands from 0xa027d8 to 0xa02b48 (880 bytes) // // 3 xrefs: // > LevelEditorLayer::updateDebugDraw @ 0x7beb60 // > GJEffectManager::prepareMoveActions @ 0xa10a2c // > @ 0x99d30 // // 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:20 +0000 // __int64 __fastcall GJEffectManager::resetTempGroupCommands(GJEffectManager *this, unsigned __int8 a2) { int v3; // w25 GroupCommandObject2 **v4; // x22 GroupCommandObject2 **v5; // x24 GroupCommandObject2 **v6; // x0 GroupCommandObject2 *v7; // x20 char *v8; // x0 char *v9; // x2 _QWORD *v10; // x21 _QWORD *v11; // x19 char *v12; // x0 char *v13; // x2 char *v14; // x0 char *v15; // x2 char *v16; // x0 char *v17; // x2 char *v18; // x0 char *v19; // x2 char *v20; // x0 char *v21; // x2 char *v22; // x0 char *v23; // x2 char *v24; // x0 char *v25; // x2 char *v26; // x0 char *v27; // x2 char *v28; // x0 char *v29; // x2 _BYTE *v30; // x0 void **v31; // x19 __int64 v32; // x2 __int64 v33; // x1 GroupCommandObject2 *v35; // [xsp+60h] [xbp+60h] BYREF v3 = a2; v4 = *((GroupCommandObject2 ***)this + 145); v5 = *((GroupCommandObject2 ***)this + 146); if ( v4 == v5 ) return _stack_chk_guard; do { while ( 1 ) { v7 = *v4; v35 = *v4; if ( !v3 && (unsigned __int64)((__int64)(*((_QWORD *)this + 149) - *((_QWORD *)this + 148)) >> 3) <= 0x3E7 ) { GroupCommandObject2::reset(v7); v6 = *((GroupCommandObject2 ***)this + 149); if ( v6 == *((GroupCommandObject2 ***)this + 150) ) { std::vector::__push_back_slow_path( (__int64)this + 1184, &v35); } else { if ( v6 ) { *v6 = v35; v6 = *((GroupCommandObject2 ***)this + 149); } *((_QWORD *)this + 149) = v6 + 1; } goto LABEL_8; } if ( v7 ) break; LABEL_8: if ( v5 == ++v4 ) goto LABEL_61; } v8 = *((char **)v7 + 61); if ( v8 ) { v9 = *((char **)v7 + 62); if ( v8 != v9 ) *((_QWORD *)v7 + 62) = &v9[4 * ~((unsigned __int64)(v9 - 4 - v8) >> 2)]; operator delete(v8); } v10 = *((_QWORD **)v7 + 55); if ( v10 ) { v11 = *((_QWORD **)v7 + 56); if ( v10 != v11 ) { do { *((_QWORD *)v7 + 56) = v11 - 56; v12 = (char *)*(v11 - 19); if ( v12 ) { v13 = (char *)*(v11 - 18); if ( v12 != v13 ) *(v11 - 18) = &v13[8 * ~((unsigned __int64)(v13 - 8 - v12) >> 3)]; operator delete(v12); } v14 = (char *)*(v11 - 22); if ( v14 ) { v15 = (char *)*(v11 - 21); if ( v14 != v15 ) *(v11 - 21) = &v15[8 * ~((unsigned __int64)(v15 - 8 - v14) >> 3)]; operator delete(v14); } v16 = (char *)*(v11 - 25); if ( v16 ) { v17 = (char *)*(v11 - 24); if ( v16 != v17 ) *(v11 - 24) = &v17[8 * ~((unsigned __int64)(v17 - 8 - v16) >> 3)]; operator delete(v16); } v18 = (char *)*(v11 - 28); if ( v18 ) { v19 = (char *)*(v11 - 27); if ( v18 != v19 ) *(v11 - 27) = &v19[8 * ~((unsigned __int64)(v19 - 8 - v18) >> 3)]; operator delete(v18); } v20 = (char *)*(v11 - 31); if ( v20 ) { v21 = (char *)*(v11 - 30); if ( v20 != v21 ) *(v11 - 30) = &v21[8 * ~((unsigned __int64)(v21 - 8 - v20) >> 3)]; operator delete(v20); } v22 = (char *)*(v11 - 40); if ( v22 ) { v23 = (char *)*(v11 - 39); if ( v22 != v23 ) *(v11 - 39) = &v23[8 * ~((unsigned __int64)(v23 - 8 - v22) >> 3)]; operator delete(v22); } v24 = (char *)*(v11 - 43); if ( v24 ) { v25 = (char *)*(v11 - 42); if ( v24 != v25 ) *(v11 - 42) = &v25[8 * ~((unsigned __int64)(v25 - 8 - v24) >> 3)]; operator delete(v24); } v26 = (char *)*(v11 - 46); if ( v26 ) { v27 = (char *)*(v11 - 45); if ( v26 != v27 ) *(v11 - 45) = &v27[8 * ~((unsigned __int64)(v27 - 8 - v26) >> 3)]; operator delete(v26); } v28 = (char *)*(v11 - 49); if ( v28 ) { v29 = (char *)*(v11 - 48); if ( v28 != v29 ) *(v11 - 48) = &v29[8 * ~((unsigned __int64)(v29 - 8 - v28) >> 3)]; operator delete(v28); } v30 = (_BYTE *)*(v11 - 52); if ( v30 ) { v31 = (void **)(v11 - 51); if ( v30 != *v31 ) *v31 = (char *)*v31 + 8 * ~((unsigned __int64)((char *)*v31 - 8 - v30) >> 3); operator delete(v30); } v11 = *((_QWORD **)v7 + 56); } while ( v10 != v11 ); v11 = *((_QWORD **)v7 + 55); } operator delete(v11); } ++v4; operator delete(v7); } while ( v5 != v4 ); LABEL_61: v32 = *((_QWORD *)this + 145); v33 = *((_QWORD *)this + 146); if ( v32 != v33 ) *((_QWORD *)this + 146) = v33 + 8 * ~((unsigned __int64)(v33 - 8 - v32) >> 3); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source