// // sub_100547AE0 from 0x100547ae0 to 0x100547b9c (188 bytes) // // 2 xrefs: // > sub_10053210C @ 0x100532208 // > sub_10053210C @ 0x10053229c // // 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_100547AE0(__int64 a1, _BYTE *a2, _DWORD *a3, int a4) { int v7; // w8 if ( !a2 ) goto LABEL_4; v7 = *(unsigned __int8 *)(*(_QWORD *)(a1 + 128) + 1185LL) + *(unsigned __int8 *)(*(_QWORD *)(a1 + 128) + 1120LL); if ( v7 < a4 ) { *a2 = v7; memcpy(a2 + 1, (const void *)(*(_QWORD *)(a1 + 128) + 1056LL), *(unsigned __int8 *)(*(_QWORD *)(a1 + 128) + 1120LL)); memcpy( &a2[*(unsigned __int8 *)(*(_QWORD *)(a1 + 128) + 1120LL) + 1], (const void *)(*(_QWORD *)(a1 + 128) + 1121LL), *(unsigned __int8 *)(*(_QWORD *)(a1 + 128) + 1185LL)); LABEL_4: *a3 = *(unsigned __int8 *)(*(_QWORD *)(a1 + 128) + 1120LL) + *(unsigned __int8 *)(*(_QWORD *)(a1 + 128) + 1185LL) + 1; return 1; } sub_1005E0E48(20, 299, 335, "t1_reneg.c", 202); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source