// // sub_1004EAB2C from 0x1004eab2c to 0x1004eac08 (220 bytes) // // 1 xrefs: // > sub_1004E7BFC @ 0x1004e7cfc // // 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_1004EAB2C(__int64 a1, __int64 a2, _QWORD *a3, __int64 a4) { __int64 v7; // x9 unsigned int (__fastcall *v8)(__int64, _QWORD); // x8 int v9; // w8 __int64 v10; // x8 int v11; // w0 __int64 v13; // x9 unsigned int (__fastcall *v14)(__int64, _QWORD); // x8 v7 = *(_QWORD *)(a4 + 8); v8 = *(unsigned int (__fastcall **)(__int64, _QWORD))(v7 + 32); if ( v8 && v8(a4, *(_QWORD *)(v7 + 104)) ) { *a3 = 0; goto LABEL_4; } if ( !*a3 || (v10 = *(_QWORD *)(a4 + 8), *(_DWORD *)(v10 + 4112)) && *(_DWORD *)(v10 + 6864) > 0x14u || (v11 = (*(__int64 (__fastcall **)(__int64, __int64, _QWORD *, _QWORD))v10)(a4, a2, a3, *(_QWORD *)(v10 + 104)), v11 == 2) ) { v9 = 7; goto LABEL_10; } if ( !*a3 ) { if ( v11 == 1 || (v13 = *(_QWORD *)(a4 + 8), (v14 = *(unsigned int (__fastcall **)(__int64, _QWORD))(v13 + 32)) != nullptr) && v14(a4, *(_QWORD *)(v13 + 104)) ) { LABEL_4: v9 = 4; LABEL_10: **(_DWORD **)a4 = v9; return 0; } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source