// // GJBaseGameLayer::stopCustomEnterEffect from 0x9c58c8 to 0x9c5ce8 (1056 bytes) // // 3 xrefs: // > GJBaseGameLayer::stopCustomEnterEffect @ 0x9c5d30 // > GJBaseGameLayer::stopCustomEnterEffect @ 0x9c5d38 // > @ 0x9f448 // // 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:58:32 +0000 // __int64 __fastcall GJBaseGameLayer::stopCustomEnterEffect( GJBaseGameLayer *this, EnterEffectObject *a2, unsigned __int8 a3) { unsigned int v5; // w0 int v6; // w23 __int64 *v7; // x25 __int64 v8; // x20 __int64 v9; // x21 unsigned __int64 v10; // x0 int v11; // w4 __int64 v12; // x2 unsigned __int64 v13; // x0 __int64 v14; // x1 __int64 v16; // x19 __int64 v17; // x21 char *v18; // x0 char *v19; // x2 _QWORD **v20; // x19 __int64 v21; // x27 __int64 v22; // x19 __int64 v23; // x26 _QWORD **v24; // x28 __int64 v25; // x1 __int64 v26; // x0 int v27; // w11 _QWORD *v28; // x1 int v29; // w10 int v30; // w9 int v31; // w8 int v32; // w7 int v33; // w6 int v34; // w5 int v35; // w4 int v36; // w3 int v37; // w18 int v38; // w17 int v39; // w16 int v40; // w15 int v41; // w14 int v42; // w13 int v43; // w2 int v44; // w7 int v45; // w6 int v46; // w5 int v47; // w4 int v48; // w3 int v49; // w2 int v50; // w12 int v51; // w11 int v52; // w10 int v53; // w9 __int64 v54; // x3 int v55; // w2 char v56; // w0 int v57; // w7 int v58; // w6 int v59; // w5 char *v60; // x0 char *v61; // x2 __int64 v62; // x1 __int64 v63; // x0 int v64; // w2 int v65; // [xsp+64h] [xbp+64h] BYREF v5 = *((_DWORD *)a2 + 508); v6 = a3; if ( v5 > 0x64 ) v5 = 0; v65 = v5; if ( a3 ) v7 = (__int64 *)std::unordered_map>::operator[]((__int64)this + 1352, &v65); else v7 = (__int64 *)std::unordered_map>::operator[]((__int64)this + 1392, &v65); v8 = *v7; v9 = v7[1]; v10 = 0xEEEEEEEEEEEEEEEFLL * ((v9 - *v7) >> 4); if ( !v10 ) return _stack_chk_guard; v11 = *((_DWORD *)a2 + 498); if ( !v11 ) { GJBaseGameLayer::removeCustomEnterEffects((__int64)this, v65, v6); if ( !v6 ) goto LABEL_26; goto LABEL_14; } if ( v11 == *(_DWORD *)(*(_QWORD *)(v8 + 168) + 1992LL) ) { LABEL_27: v21 = v8 + 240; v22 = v8 + 240; if ( v9 == v8 + 240 ) { v16 = v7[1]; } else { v23 = v8 + 8; while ( 1 ) { v24 = *(_QWORD ***)(v22 - 232); if ( v24 ) { std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy( v8, *v24); std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy( v8, v24[1]); operator delete(v24); } v25 = *(_QWORD *)(v22 + 8); v26 = *(_QWORD *)(v22 + 16); *(_QWORD *)(v22 - 240) = *(_QWORD *)v22; *(_QWORD *)(v22 - 232) = v25; *(_QWORD *)(v22 - 224) = v26; if ( v26 ) { *(_QWORD *)(v25 + 16) = v23; *(_QWORD *)(v22 + 8) = 0; *(_QWORD *)v22 = v22 + 8; *(_QWORD *)(v22 + 16) = 0; } else { *(_QWORD *)(v22 - 240) = v23; } v27 = *(_DWORD *)(v22 + 52); v28 = (_QWORD *)(v22 - 104); v29 = *(_DWORD *)(v22 + 56); v30 = *(_DWORD *)(v22 + 60); v31 = *(_DWORD *)(v22 + 64); v32 = *(_DWORD *)(v22 + 68); v33 = *(_DWORD *)(v22 + 72); v34 = *(_DWORD *)(v22 + 76); v35 = *(_DWORD *)(v22 + 80); v36 = *(_DWORD *)(v22 + 84); v37 = *(_DWORD *)(v22 + 24); v38 = *(_DWORD *)(v22 + 28); v39 = *(_DWORD *)(v22 + 32); v40 = *(_DWORD *)(v22 + 36); v41 = *(_DWORD *)(v22 + 40); v42 = *(_DWORD *)(v22 + 44); v43 = *(_DWORD *)(v22 + 88); *(_DWORD *)(v22 - 192) = *(_DWORD *)(v22 + 48); *(_DWORD *)(v22 - 188) = v27; *(_DWORD *)(v22 - 184) = v29; *(_DWORD *)(v22 - 180) = v30; *(_DWORD *)(v22 - 176) = v31; *(_DWORD *)(v22 - 172) = v32; *(_DWORD *)(v22 - 168) = v33; *(_DWORD *)(v22 - 164) = v34; *(_DWORD *)(v22 - 160) = v35; *(_DWORD *)(v22 - 156) = v36; *(_DWORD *)(v22 - 216) = v37; *(_DWORD *)(v22 - 212) = v38; *(_DWORD *)(v22 - 208) = v39; *(_DWORD *)(v22 - 204) = v40; *(_DWORD *)(v22 - 200) = v41; *(_DWORD *)(v22 - 196) = v42; *(_DWORD *)(v22 - 152) = v43; v44 = *(_DWORD *)(v22 + 112); v45 = *(_DWORD *)(v22 + 116); v46 = *(_DWORD *)(v22 + 120); v47 = *(_DWORD *)(v22 + 124); v48 = *(_DWORD *)(v22 + 128); v49 = *(_DWORD *)(v22 + 132); v50 = *(_DWORD *)(v22 + 92); v51 = *(_DWORD *)(v22 + 96); v52 = *(_DWORD *)(v22 + 100); v53 = *(_DWORD *)(v22 + 104); *(_DWORD *)(v22 - 132) = *(_DWORD *)(v22 + 108); *(_DWORD *)(v22 - 128) = v44; *(_DWORD *)(v22 - 124) = v45; *(_DWORD *)(v22 - 120) = v46; *(_DWORD *)(v22 - 116) = v47; *(_DWORD *)(v22 - 148) = v50; *(_DWORD *)(v22 - 144) = v51; *(_DWORD *)(v22 - 140) = v52; *(_DWORD *)(v22 - 136) = v53; *(_DWORD *)(v22 - 112) = v48; *(_DWORD *)(v22 - 108) = v49; v54 = *(_QWORD *)(v22 + 144); *v28 = *(_QWORD *)(v22 + 136); v28[1] = v54; LODWORD(v54) = *(_DWORD *)(v22 + 152); v55 = *(_DWORD *)(v22 + 156); *(_QWORD *)(v22 - 72) = *(_QWORD *)(v22 + 168); LODWORD(v28) = *(_DWORD *)(v22 + 160); v56 = *(_BYTE *)(v22 + 176); *(_DWORD *)(v22 - 88) = v54; *(_DWORD *)(v22 - 84) = v55; *(_DWORD *)(v22 - 80) = (_DWORD)v28; *(_BYTE *)(v22 - 64) = v56; v57 = *(_DWORD *)(v22 + 184); v58 = *(_DWORD *)(v22 + 188); v59 = *(_DWORD *)(v22 + 192); LOBYTE(v47) = *(_BYTE *)(v22 + 196); LOBYTE(v54) = *(_BYTE *)(v22 + 197); LOBYTE(v55) = *(_BYTE *)(v22 + 198); LODWORD(v28) = *(_DWORD *)(v22 + 200); v60 = *(char **)(v22 - 32); *(_DWORD *)(v22 - 60) = *(_DWORD *)(v22 + 180); *(_DWORD *)(v22 - 56) = v57; *(_DWORD *)(v22 - 52) = v58; *(_DWORD *)(v22 - 48) = v59; *(_BYTE *)(v22 - 44) = v47; *(_BYTE *)(v22 - 43) = v54; *(_BYTE *)(v22 - 42) = v55; *(_DWORD *)(v22 - 40) = (_DWORD)v28; if ( v60 ) { v61 = *(char **)(v22 - 24); if ( v60 != v61 ) *(_QWORD *)(v22 - 24) = &v61[4 * ~((unsigned __int64)(v61 - 4 - v60) >> 2)]; operator delete(v60); } v62 = *(_QWORD *)(v22 + 208); v8 = v21; v63 = *(_QWORD *)(v22 + 216); v23 += 240; v64 = *(_DWORD *)(v22 + 232); *(_QWORD *)(v22 - 16) = *(_QWORD *)(v22 + 224); *(_QWORD *)(v22 + 224) = 0; *(_QWORD *)(v22 + 216) = 0; *(_QWORD *)(v22 + 208) = 0; *(_DWORD *)(v22 - 8) = v64; *(_QWORD *)(v22 - 32) = v62; *(_QWORD *)(v22 - 24) = v63; v22 += 240; if ( v9 == v22 ) break; v21 += 240; } v16 = v7[1]; } for ( ; v16 != v8; v16 = v7[1] ) { v17 = v16 - 240; v7[1] = v16 - 240; v18 = *(char **)(v16 - 32); if ( v18 ) { v19 = *(char **)(v16 - 24); if ( v18 != v19 ) *(_QWORD *)(v16 - 24) = &v19[4 * ~((unsigned __int64)(v19 - 4 - v18) >> 2)]; operator delete(v18); } v20 = *(_QWORD ***)(v16 - 232); if ( v20 ) { std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy( v17, *v20); std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy( v17, v20[1]); operator delete(v20); } } if ( 0xEEEEEEEEEEEEEEEFLL * ((v8 - *v7) >> 4) ) return _stack_chk_guard; if ( !v6 ) { LABEL_26: *(_DWORD *)(*((_QWORD *)this + 182) + 4LL * v65) = -2; return _stack_chk_guard; } LABEL_14: *(_DWORD *)(*((_QWORD *)this + 179) + 4LL * v65) = -2; return _stack_chk_guard; } v12 = v8 + 240; v13 = v10 - 1; v14 = 0; while ( v14 != v13 ) { v8 = v12; ++v14; v12 += 240; if ( v11 == *(_DWORD *)(*(_QWORD *)(v8 + 168) + 1992LL) ) goto LABEL_27; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source