// // DrawGridLayer::removeAudioLineObject from 0x790238 to 0x7903bc (388 bytes) // // 2 xrefs: // > LevelEditorLayer::removeSpecial @ 0x790568 // > @ 0x87bf8 // // 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:53:28 +0000 // void __fastcall DrawGridLayer::removeAudioLineObject(_QWORD *a1, __int64 a2) { unsigned __int64 v2; // x3 int v4; // w5 unsigned __int64 v5; // x7 __int64 v6; // x4 unsigned __int64 v7; // x6 __int64 v8; // x10 void **v9; // x0 _QWORD *v10; // x1 unsigned __int64 v11; // x2 unsigned __int64 v12; // x0 unsigned __int64 v13; // x5 _QWORD *i; // x2 unsigned __int64 v15; // x0 unsigned __int64 v16; // x0 __int64 v17; // x0 unsigned __int64 v18; // x6 __int64 v19; // x6 __int64 v20; // x6 unsigned __int64 v21; // x9 v2 = a1[55]; v4 = *(_DWORD *)(a2 + 916); if ( v2 ) { v5 = v2 - 1; v6 = (v2 - 1) & v2; v7 = v6 ? v4 % v2 : v5 & v4; v8 = a1[54]; v9 = *(void ***)(v8 + 8 * v7); if ( v9 ) { v10 = *v9; if ( *v9 ) { while ( 1 ) { v11 = v10[1]; v12 = v5 & v11; if ( v6 ) v12 = v11 % v2; if ( v7 != v12 ) return; if ( v4 == *((_DWORD *)v10 + 4) ) break; v10 = (_QWORD *)*v10; if ( !v10 ) return; } v13 = v11 & v5; if ( v6 ) v13 = v11 % v2; for ( i = *(_QWORD **)(v8 + 8 * v13); (_QWORD *)*i != v10; i = (_QWORD *)*i ) ; if ( i != a1 + 56 ) { v15 = i[1]; v16 = v6 ? v15 % v2 : v5 & v15; if ( v13 == v16 ) goto LABEL_27; } v17 = *v10; if ( *v10 ) { v18 = *(_QWORD *)(v17 + 8); if ( v6 ) { v21 = v18 / v2; if ( v13 == v18 % v2 ) { LABEL_30: v19 = v18 - v21 * v2; LABEL_31: if ( v13 != v19 ) { LABEL_32: *(_QWORD *)(a1[54] + 8 * v19) = i; v20 = *v10; goto LABEL_33; } LABEL_35: *i = v17; *v10 = 0; --a1[57]; operator delete(v10); return; } *(_QWORD *)(v8 + 8 * v13) = 0; LABEL_27: v17 = *v10; v20 = *v10; if ( !*v10 ) { LABEL_33: *i = v20; *v10 = 0; --a1[57]; operator delete(v10); return; } v18 = *(_QWORD *)(v17 + 8); if ( !v6 ) { v19 = v5 & v18; if ( v13 != v19 ) goto LABEL_32; goto LABEL_35; } v21 = v18 / v2; goto LABEL_30; } v19 = v5 & v18; if ( v13 == v19 ) goto LABEL_31; } *(_QWORD *)(v8 + 8 * v13) = 0; goto LABEL_27; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source