// // sub_10016C500 from 0x10016c500 to 0x10016c5f3 (243 bytes) // // 4 xrefs: // > sub_10016BE30 @ 0x10016c348 // > sub_10016BE30 @ 0x10016c3c6 // > sub_10016D4D0 @ 0x10016d5ce // > sub_10016D4D0 @ 0x10016d6b9 // // 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_10016C500(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 (__fastcall **a5)(__int64)) { __int64 v8; // rbx char v9; // r13 char v10; // al __int64 result; // rax __int64 v12; // [rsp+0h] [rbp-30h] v8 = a2; v12 = a1; v9 = (*a5)(a2); v10 = ((__int64 (__fastcall *)(__int64, __int64))*a5)(a3, a2); if ( v9 ) { if ( v10 ) goto LABEL_9; sub_10016DB50(a1, a2); if ( ((unsigned __int8 (__fastcall *)(__int64, __int64))*a5)(a3, a2) ) { a1 = a2; LABEL_9: a2 = a3; LABEL_10: sub_10016DB50(a1, a2); } } else if ( v10 ) { sub_10016DB50(a2, a3); if ( ((unsigned __int8 (__fastcall *)(__int64, __int64))*a5)(a2, a1) ) goto LABEL_10; } result = ((__int64 (__fastcall *)(__int64, __int64))*a5)(a4, a3); if ( (_BYTE)result ) { sub_10016DB50(a3, a4); result = ((__int64 (__fastcall *)(__int64, __int64))*a5)(a3, v8); if ( (_BYTE)result ) { sub_10016DB50(v8, a3); result = ((__int64 (__fastcall *)(__int64, __int64))*a5)(v8, v12); if ( (_BYTE)result ) return sub_10016DB50(v12, v8); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source