// // sub_1005B7CA4 from 0x1005b7ca4 to 0x1005b7d28 (132 bytes) // // 1 xrefs: // > sub_1005BCFE8 @ 0x1005bd270 // // 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_1005B7CA4(__int64 a1, const void *a2, size_t a3) { void *v6; // x0 _QWORD *v7; // x22 __int64 result; // x0 _BYTE *v9; // x0 v7 = (_QWORD *)(a1 + 80); v6 = *(void **)(a1 + 80); if ( v6 ) { sub_100588C44(v6); *v7 = 0; v7[1] = 0; } result = 1; if ( a2 && a3 ) { v9 = sub_100588710(a3, (__int64)"ec_lib.c", 402); *v7 = v9; if ( v9 ) { memcpy(v9, a2, a3); *(_QWORD *)(a1 + 88) = a3; return a3; } else { return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source