// // sub_140255830 from 0x140255830 to 0x1402558d6 (166 bytes) // // 5 xrefs: // > sub_140253EE0 @ 0x140253f59 // > sub_140253EE0 @ 0x140253f6e // > sub_140253EE0 @ 0x140253f8c // > sub_140253EE0 @ 0x140253fa2 // > @ 0x1406cf8f4 // // 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_140255830( __int64 *a1, __int64 *a2, __int64 *a3, unsigned __int8 (__fastcall *a4)(__int64 *, __int64 *)) { __int64 v8; // r8 __int64 result; // rax __int64 v10; // rcx __int64 v11; // rax __int64 v12; // rcx __int64 v13; // [rsp+40h] [rbp+8h] BYREF __int64 v14; // [rsp+48h] [rbp+10h] BYREF v13 = *a1; v14 = *a2; if ( a4(&v14, &v13) ) { v8 = *a2; *a2 = *a1; *a1 = v8; } v13 = *a2; v14 = *a3; result = ((__int64 (__fastcall *)(__int64 *, __int64 *))a4)(&v14, &v13); if ( (_BYTE)result ) { v10 = *a3; *a3 = *a2; *a2 = v10; v11 = *a1; v14 = v10; v13 = v11; result = ((__int64 (__fastcall *)(__int64 *, __int64 *))a4)(&v14, &v13); if ( (_BYTE)result ) { result = *a1; v12 = *a2; *a2 = *a1; *a1 = v12; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source