// // sub_1005E1B94 from 0x1005e1b94 to 0x1005e1c9c (264 bytes) // // 2 xrefs: // > sub_1005D7C3C @ 0x1005d7d8c // > sub_100615850 @ 0x100615a18 // // 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 sub_1005E1B94() { _DWORD *v0; // x19 int v1; // w9 int v2; // w8 __int64 result; // x0 char *v4; // x10 _DWORD *v5; // x10 char v6; // t1 int v7; // w8 void *v8; // x0 int v9; // w8 v0 = sub_1005E0F4C(); v1 = v0[149]; v2 = v0[148]; if ( v1 == v2 ) return 0; while ( 1 ) { v4 = (char *)&v0[v2]; v6 = v4[16]; v5 = v4 + 16; if ( (v6 & 1) != 0 ) break; *v5 = 0; *(_QWORD *)&v0[2 * v0[148] + 20] = 0; v7 = v0[148]; v8 = *(void **)&v0[2 * v7 + 52]; if ( v8 && (v0[v7 + 84] & 1) != 0 ) { sub_100588C44(v8); *(_QWORD *)&v0[2 * v0[148] + 52] = 0; v7 = v0[148]; } result = 0; v0[v7 + 84] = 0; *(_QWORD *)&v0[2 * v0[148] + 100] = 0; v0[v0[148] + 132] = -1; v9 = v0[148]; if ( v9 ) v2 = v9 - 1; else v2 = 15; v0[148] = v2; v1 = v0[149]; if ( v1 == v2 ) return result; } if ( v1 == v2 ) return 0; v0[v2 + 4] &= ~1u; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source