// // GameToolbox::msToTimeString from 0x1004f5e60 to 0x1004f5f94 (308 bytes) // // 3 xrefs: // > GJLevelScoreCell::loadFromScore @ 0x100231397 // > GJLocalLevelScoreCell::loadFromScore @ 0x1002318b2 // > sub_100926430 @ 0x100926634 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:31:26 +0000 // std::string *__fastcall GameToolbox::msToTimeString(std::string *this, int a2, int a3) { __int64 v3; // rax const std::string::value_type *CString; // rax char v6; // [rsp+0h] [rbp-10h] *(_OWORD *)&this->__r_.__value_.__l.0 = 0; this->__r_.__value_.__r.__words[2] = 0; if ( (unsigned int)(a2 + 3599999) >= 0x6DDCFF || (a3 | (a2 / 60000 % 60)) != 0 ) { if ( (unsigned int)(a2 + 3599999) >= 0x6DDCFF || a3 == 2 ) v3 = sub_10088E820("%i:%02d:%02d.%03d", v6); else v3 = sub_10088E820("%i:%02d.%03d", v6); } else { v3 = sub_10088E820("%i.%03d", v6); } CString = (const std::string::value_type *)cocos2d::CCString::getCString(v3); std::string::assign(this, CString); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source