// // sub_1004C78BC from 0x1004c78bc to 0x1004c790c (80 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_1004C78BC(unsigned __int64 a1) { __int16 *v1; // x9 int v2; // w8 __int64 v4; // x8 int v5; // w10 int v6; // t1 if ( !a1 ) return 0; v1 = (__int16 *)(a1 - 4); do { v2 = (unsigned __int16)v1[2]; ++v1; } while ( v2 ); if ( (unsigned __int64)v1 < a1 ) return 0; LODWORD(v4) = 0; v5 = 1; do { v6 = *v1--; v4 = (unsigned int)(v4 + (v6 - 48) * v5); v5 *= 10; } while ( (unsigned __int64)v1 >= a1 ); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source