// // sub_10044D9FC from 0x10044d9fc to 0x10044dae8 (236 bytes) // // 2 xrefs: // > sub_10042847C @ 0x1004284ec // > sub_100428538 @ 0x1004287bc // // 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 // bool __fastcall sub_10044D9FC(__int64 a1, unsigned __int8 *a2) { __int64 v5; // x8 __int64 v6; // x12 int v7; // w13 bool v8; // zf _BOOL4 v9; // w13 int v10; // w14 int v11; // w12 bool v12; // zf bool v13; // cc _BOOL4 v14; // w12 int v15; // w21 __int64 v16; // x20 int v17; // w19 int v18; // [xsp+Ch] [xbp-24h] BYREF if ( *(_BYTE *)(a1 + 720) ) return 0; sub_1004B5828(&v18); v5 = 0; while ( 1 ) { v6 = a1 + v5; if ( *(unsigned __int8 *)(a1 + v5 + 724) == *a2 ) { v7 = *(unsigned __int8 *)(v6 + 725); v8 = v7 == 255 || v7 == a2[1]; v9 = v8; } else { v9 = 0; } v10 = *(_DWORD *)(v6 + 728); v11 = *(_DWORD *)(v6 + 732); v12 = v10 == -1 || v11 == 0; v13 = !v12 && v18 - v11 <= v10; v14 = !v13; if ( v9 && v14 ) break; v5 += 16; if ( v5 == 512 ) return 0; } v15 = *(_DWORD *)(a1 + v5 + 736); v16 = *(_QWORD *)(a1 + 1272); sub_1004B5C70(v16); v17 = *(_DWORD *)(a1 + 1248) - *(_DWORD *)(a1 + 1252) + *(_DWORD *)(a1 + 1256); sub_1004B5CA0(v16); return v17 >= v15; }
GD Web Decomp Icon

GD Web Decomp

Raw Source