// // sub_10058786C from 0x10058786c to 0x1005878f4 (136 bytes) // // 1 xrefs: // > sub_1005587A4 @ 0x1005588a4 // // 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 // void __fastcall sub_10058786C(__int64 a1) { int *v1; // x19 int v2; // w8 void **v3; // x20 __int64 v4; // x21 v1 = (int *)(a1 + 35944); v2 = *(_DWORD *)(a1 + 35944); if ( v2 ) { v3 = (void **)(a1 + 35952); if ( v2 >= 1 ) { v4 = 0; do { sub_100574898(*((_QWORD *)*v3 + v4)); *((_QWORD *)*v3 + v4++) = 0; } while ( v4 < *v1 ); } off_10085DEB8(*v3); *v3 = nullptr; *v1 = 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source