// // sub_72FE8 from 0x72fe8 to 0x73050 (104 bytes) // // 3 xrefs: // > sub_737F0 @ 0x73920 // > sub_73AD8 @ 0x7437a // > sub_73AD8 @ 0x744ca // // 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 // int __fastcall sub_72FE8(__int64 *a1) { __int64 v1; // kr00_8 int v2; // r2 int v3; // r3 int v4; // r3 int v5; // r3 if ( !*((_BYTE *)a1 + 229) ) { v1 = *a1; v2 = *((_DWORD *)a1 + 56); v3 = *(_DWORD *)(*((_DWORD *)a1 + 1) + 40); if ( v3 >= v2 ) { if ( v3 <= v2 ) goto LABEL_8; v5 = v3 - 4 * *((unsigned __int8 *)a1 + v1); *(_DWORD *)(HIDWORD(v1) + 40) = v5; if ( v5 >= v2 ) goto LABEL_8; } else { v4 = v3 + 4 * *((unsigned __int8 *)a1 + v1); *(_DWORD *)(HIDWORD(v1) + 40) = v4; if ( v4 < v2 ) goto LABEL_8; } *(_DWORD *)(HIDWORD(v1) + 40) = v2; *((_BYTE *)a1 + 229) = 1; LABEL_8: *(_BYTE *)(HIDWORD(v1) + 36) |= 1u; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source