// // sub_10047BA44 from 0x10047ba44 to 0x10047baac (104 bytes) // // 0 xrefs: // // 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_10047BA44(__int64 a1) { __int64 v1; // x8 unsigned int v2; // w9 int v3; // w10 int v4; // w9 v1 = *(_QWORD *)(a1 + 8); v2 = *(unsigned __int8 *)(a1 + 249); if ( (v2 & 0xF) == 0 ) *(_DWORD *)(v1 + 68) += v2 >> 4; v3 = *(_DWORD *)(v1 + 68); if ( v2 <= 0xF ) { v3 -= v2; *(_DWORD *)(v1 + 68) = v3; if ( v3 > 64 ) goto LABEL_5; } else if ( v3 > 64 ) { LABEL_5: v4 = 64; LABEL_9: *(_DWORD *)(v1 + 68) = v4; goto LABEL_10; } if ( v3 < 0 ) { v4 = 0; goto LABEL_9; } LABEL_10: *(_BYTE *)(v1 + 60) |= 2u; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source