// // DrawGridLayer::removeAudioLineObject from 0x463fb6 to 0x4640da (292 bytes) // // 1 xrefs: // > LevelEditorLayer::removeSpecial @ 0x4642b8 // // 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:48:54 +0000 // void __fastcall DrawGridLayer::removeAudioLineObject(_DWORD *a1, int a2) { unsigned int v3; // r4 unsigned int v4; // r10 unsigned int v5; // r6 int v6; // r11 int v7; // r9 _DWORD **v8; // r3 _DWORD *i; // r5 unsigned int v10; // r0 int v11; // r1 int v12; // r8 unsigned int v13; // r0 int v14; // r11 _DWORD *j; // r10 unsigned int v16; // r0 int v17; // r1 unsigned int v18; // r0 int v19; // r1 unsigned int v20; // r0 int v21; // r1 _DWORD *v22; // [sp+0h] [bp-Ch] v3 = a1[83]; v4 = *(_DWORD *)(a2 + 780); if ( v3 ) { v5 = v3 - 1; v6 = ((v3 - 1) & v3) != 0 ? v4 % v3 : v5 & v4; v7 = a1[82]; v8 = *(_DWORD ***)(v7 + 4 * v6); if ( v8 ) { for ( i = *v8; i; i = (_DWORD *)*i ) { v10 = i[1]; v11 = ((v3 - 1) & v3) != 0 ? v10 % v3 : v5 & v10; if ( v11 != v6 ) break; if ( i[2] == v4 ) { v12 = v5 & v3; v13 = i[1]; v22 = (_DWORD *)*i; if ( (v5 & v3) != 0 ) v14 = v13 % v3; else v14 = v5 & v13; for ( j = *(_DWORD **)(v7 + 4 * v14); (_DWORD *)*j != i; j = (_DWORD *)*j ) ; if ( j == a1 + 84 || ((v16 = j[1], v12) ? (v17 = v16 % v3) : (v17 = v5 & v16), v17 != v14) ) { if ( !v22 || ((v18 = v22[1], v12) ? (v19 = v18 % v3) : (v19 = v5 & v18), v19 != v14) ) *(_DWORD *)(v7 + 4 * v14) = 0; } if ( *i ) { v20 = *(_DWORD *)(*i + 4); if ( v12 ) v21 = v20 % v3; else v21 = v5 & v20; if ( v21 != v14 ) *(_DWORD *)(a1[82] + 4 * v21) = j; } *j = *i; *i = 0; --a1[85]; operator delete(i); return; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source