// // GameToolbox::msToTimeString from 0x1000488c0 to 0x1000489f8 (312 bytes) // // 2 xrefs: // > GJLevelScoreCell::loadFromScore @ 0x10010913c // > GJLocalLevelScoreCell::loadFromScore @ 0x1001095a8 // // 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 *__usercall GameToolbox::msToTimeString@(int a1@, int a2@, std::string *a3@) { cocos2d::CCString *v4; // x0 const char *CString; // x0 a3->__r_.__value_.__r.__words[0] = 0; a3->__r_.__value_.__l.__size_ = 0; a3->__r_.__value_.__r.__words[2] = 0; if ( (unsigned int)(a1 + 3599999) > 0x6DDCFE || (a1 / 60000 % 60) | a2 ) { if ( (unsigned int)(a1 + 3599999) > 0x6DDCFE || a2 == 2 ) v4 = (cocos2d::CCString *)sub_100268F4C( "%i:%02d:%02d.%03d", a1 / 3600000, a1 / 60000 % 60, a1 / 1000 % 60, a1 % 1000); else v4 = (cocos2d::CCString *)sub_100268F4C("%i:%02d.%03d", a1 / 60000 % 60, a1 / 1000 % 60, a1 % 1000); } else { v4 = (cocos2d::CCString *)sub_100268F4C("%i.%03d", a1 / 1000 % 60, a1 % 1000); } CString = cocos2d::CCString::getCString(v4); return std::string::assign(a3, CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source