// // sub_100547B9C from 0x100547b9c to 0x100547d38 (412 bytes) // // 1 xrefs: // > sub_100533BC8 @ 0x100533e30 // // 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_100547B9C(__int64 a1, unsigned __int8 *a2, int a3, _DWORD *a4) { __int64 v6; // x8 int v7; // w23 bool v8; // zf int v9; // w8 __int64 v10; // x22 size_t v11; // x21 __int64 v12; // x4 __int64 v13; // x2 __int64 v14; // x4 v6 = *(_QWORD *)(a1 + 128); v7 = *(unsigned __int8 *)(v6 + 1185) + *(unsigned __int8 *)(v6 + 1120); if ( *(_BYTE *)(v6 + 1120) ) v8 = 1; else v8 = v7 == 0; if ( !v8 ) sub_1005884E4((char)"t1_reneg.c"); if ( v7 ) { if ( !*(_BYTE *)(*(_QWORD *)(a1 + 128) + 1185LL) ) sub_1005884E4((char)"t1_reneg.c"); } if ( a3 <= 0 ) { v13 = 336; v14 = 246; LABEL_16: sub_1005E0E48(20, 301, v13, "t1_reneg.c", v14); *a4 = 47; return 0; } v9 = *a2; if ( v9 + 1 != a3 ) { v13 = 336; v14 = 256; goto LABEL_16; } if ( v9 != v7 ) { v12 = 264; goto LABEL_18; } v10 = *(_QWORD *)(a1 + 128); v11 = *(unsigned __int8 *)(v10 + 1120); if ( memcmp(a2 + 1, (const void *)(v10 + 1056), v11) ) { v12 = 272; LABEL_18: sub_1005E0E48(20, 301, 337, "t1_reneg.c", v12); *a4 = 40; return 0; } if ( memcmp(&a2[v11 + 1], (const void *)(v10 + 1121), *(unsigned __int8 *)(v10 + 1185)) ) { v13 = 337; v14 = 281; goto LABEL_16; } *(_DWORD *)(v10 + 1188) = 1; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source