// // GameToolbox::msToTimeString from 0x1004f7960 to 0x1004f7a94 (308 bytes) // // 2 xrefs: // > GJLevelScoreCell::loadFromScore @ 0x10024b237 // > GJLocalLevelScoreCell::loadFromScore @ 0x10024b752 // // 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 // std::string *__fastcall GameToolbox::msToTimeString(std::string *this, int a2, int a3) { cocos2d::CCString *v3; // rax const char *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 = (cocos2d::CCString *)sub_1007AB580("%i:%02d:%02d.%03d", v6); else v3 = (cocos2d::CCString *)sub_1007AB580("%i:%02d.%03d", v6); } else { v3 = (cocos2d::CCString *)sub_1007AB580("%i.%03d", v6); } CString = cocos2d::CCString::getCString(v3); std::string::assign(this, CString); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source