// // sub_180020020 from 0x180020020 to 0x180020115 (245 bytes) // // 1 xrefs: // > sub_18001FF20 @ 0x18001ff70 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_180020020(_QWORD *a1, _DWORD *a2) { BOOL v5; // eax int v6; // ecx int v7; // eax int v8; // ecx int v9; // eax int v10; // ecx int v11; // eax int v12; // ecx int v13; // eax int v14; // ecx int v15; // eax int v16; // ecx int v17; // eax int v18; // ecx int v19; // edx int v20; // ecx if ( !a2 ) return 31; v5 = a1[136] != 0; v6 = v5 + 1; if ( !a1[247] ) v6 = v5; v7 = v6 + 1; if ( !a1[358] ) v7 = v6; v8 = v7 + 1; if ( !a1[469] ) v8 = v7; v9 = v8 + 1; if ( !a1[580] ) v9 = v8; v10 = v9 + 1; if ( !a1[691] ) v10 = v9; v11 = v10 + 1; if ( !a1[802] ) v11 = v10; v12 = v11 + 1; if ( !a1[913] ) v12 = v11; v13 = v12 + 1; if ( !a1[1024] ) v13 = v12; v14 = v13 + 1; if ( !a1[1135] ) v14 = v13; v15 = v14 + 1; if ( !a1[1246] ) v15 = v14; v16 = v15 + 1; if ( !a1[1357] ) v16 = v15; v17 = v16 + 1; if ( !a1[1468] ) v17 = v16; v18 = v17 + 1; if ( !a1[1579] ) v18 = v17; v19 = v18 + 1; if ( !a1[1690] ) v19 = v18; v20 = v19 + 1; if ( !a1[1801] ) v20 = v19; *a2 = v20; return 0; }