// // sub_10054A9D8 from 0x10054a9d8 to 0x10054abc4 (492 bytes) // // 6 xrefs: // > sub_10054A1EC @ 0x10054a614 // > sub_10054A1EC @ 0x10054a624 // > sub_10054A1EC @ 0x10054a634 // > sub_10054A1EC @ 0x10054a644 // > sub_10054A1EC @ 0x10054a654 // > sub_10054A1EC @ 0x10054a664 // // 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_10054A9D8(__int64 a1, __int64 a2) { if ( a1 > 99999 ) { if ( a1 >= 10240000 ) { if ( a1 > 104857599 ) { if ( a1 > 0x270FFFFFFLL ) { if ( a1 > 0x18FFFFFFFFLL ) { if ( a1 > 0x9C3FFFFFFFFLL ) { if ( a1 > 0x270FFFFFFFFFFFLL ) sub_100562884(a2, 6, "%4ldP"); else sub_100562884(a2, 6, "%4ldT"); } else { sub_100562884(a2, 6, "%4ldG"); } } else { sub_100562884(a2, 6, "%2ld.%0ldG"); } } else { sub_100562884(a2, 6, "%4ldM"); } } else { sub_100562884(a2, 6, "%2ld.%0ldM"); } } else { sub_100562884(a2, 6, "%4ldk"); } } else { sub_100562884(a2, 6, "%5ld"); } return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source