// // sub_1005F5A7C from 0x1005f5a7c to 0x1005f5b94 (280 bytes) // // 2 xrefs: // > sub_1005F5624 @ 0x1005f5824 // > sub_1005F5624 @ 0x1005f58c0 // // 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_1005F5A7C(char ***a1, __int64 a2) { __int64 v4; // x8 __int64 (__fastcall *v5)(char ***, __int64); // x2 __int64 v7; // x0 _BYTE *v8; // x0 if ( !a2 ) return 0; v4 = *(_QWORD *)(a2 + 32); if ( v4 ) { v5 = *(__int64 (__fastcall **)(char ***, __int64))(v4 + 16); if ( v5 ) return v5(a1, a2); } if ( *(_BYTE *)a2 == 5 ) { v7 = 0xFFFFFFFFLL; goto LABEL_7; } v7 = *(unsigned int *)(a2 + 8); if ( (int)v7 > 4 ) { if ( (_DWORD)v7 == 5 ) { *a1 = (char **)1; return 1; } if ( (_DWORD)v7 == 6 ) { *a1 = sub_10058AB9C(0); return 1; } LABEL_7: v8 = (_BYTE *)sub_1005FBAFC(v7); if ( v8 ) { if ( *(_BYTE *)a2 == 5 ) *((_QWORD *)v8 + 2) |= 0x40uLL; } goto LABEL_15; } if ( (_DWORD)v7 != -4 ) { if ( (_DWORD)v7 == 1 ) { *(_DWORD *)a1 = *(_QWORD *)(a2 + 40); return 1; } goto LABEL_7; } v8 = sub_100588710(16, (__int64)"tasn_new.c", 342); if ( v8 ) { *((_QWORD *)v8 + 1) = 0; *(_DWORD *)v8 = -1; LABEL_15: *a1 = (char **)v8; return v8 != nullptr; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source