// // sub_1005B79E8 from 0x1005b79e8 to 0x1005b7b20 (312 bytes) // // 3 xrefs: // > sub_1005BCFE8 @ 0x1005bd258 // > sub_1005BD8D4 @ 0x1005be074 // > sub_1006250BC @ 0x100625254 // // 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_1005B79E8(__int64 *a1, _QWORD *a2, __int64 a3, __int64 a4) { _QWORD *v8; // x0 unsigned int (__fastcall *v9)(_QWORD *, _QWORD *); // x8 __int64 v10; // x1 __int64 v11; // x2 __int64 v12; // x4 __int64 v14; // x0 __int64 v15; // x0 if ( !a2 ) { v10 = 111; v11 = 67; v12 = 297; goto LABEL_9; } v8 = (_QWORD *)a1[1]; if ( !v8 ) { v8 = sub_1005B7838(a1); a1[1] = (__int64)v8; if ( !v8 ) return 0; } v9 = *(unsigned int (__fastcall **)(_QWORD *, _QWORD *))(*v8 + 96LL); if ( !v9 ) { v10 = 114; v11 = 66; v12 = 757; goto LABEL_9; } if ( *v8 != *a2 ) { v10 = 114; v11 = 101; v12 = 761; LABEL_9: sub_1005E0E48(16, v10, v11, "ec_lib.c", v12); return 0; } if ( v8 != a2 && !v9(v8, a2) ) return 0; v14 = (__int64)(a1 + 2); if ( a3 ) { if ( !sub_1005AAFFC(v14, a3) ) return 0; } else { sub_1005AB128(v14, 0); } v15 = (__int64)(a1 + 5); if ( a4 ) { if ( !sub_1005AAFFC(v15, a4) ) return 0; } else { sub_1005AB128(v15, 0); } sub_1005B7B20(a1); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source