// // sub_61096C from 0x61096c to 0x610ae0 (372 bytes) // // 6 xrefs: // > sub_610EFC @ 0x611414 // > sub_610EFC @ 0x611422 // > sub_610EFC @ 0x611432 // > sub_610EFC @ 0x611442 // > sub_610EFC @ 0x611450 // > sub_610EFC @ 0x611462 // // 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_61096C(__int64 a1, int a2) { if ( (unsigned int)&stru_1869C.st_name + 3 >= a1 ) { sub_624640(a2, 6, "%5lld", a1); return a2; } if ( a1 <= 10239999 ) { sub_624640(a2, 6, "%4lldk", a1 >> 10); return a2; } else if ( a1 < 104857600 ) { sub_624640( a2, 6, "%2lld.%0lldM", a1 >> 20, ((unsigned int)"ayer7onCloseEPN7cocos2d8CCObjectE" & (unsigned int)a1) / (__int64)(unsigned int)&stru_1998C.st_other); return a2; } else { if ( a1 >= 10485760000LL ) { if ( SHIDWORD(a1) < 25 ) { sub_624640(a2, 6, "%2lld.%0lldG", a1 >> 30, ((unsigned int)a1 & 0x3FFFFFFF) / 107374182LL); } else if ( SHIDWORD(a1) <= 2499 ) { sub_624640(a2, 6, "%4lldG", a1 >> 30); } else { if ( (int)&stru_270FF8.r_info + 3 < SHIDWORD(a1) ) { sub_624640(a2, 6, "%4lldP", (__int64)(SHIDWORD(a1) >> 18)); return a2; } sub_624640(a2, 6, "%4lldT", (__int64)(SHIDWORD(a1) >> 8)); } return a2; } sub_624640(a2, 6, "%4lldM", a1 >> 20); return a2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source