// // sub_100064D5C from 0x100064d5c to 0x100064ea4 (328 bytes) // // 4 xrefs: // > sub_100064EAC @ 0x100064eac // > sub_100064EB0 @ 0x100064eb4 // > sub_100064EB8 @ 0x100064ec0 // > sub_100064ECC @ 0x100064ed8 // // 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_100064D5C(_QWORD *a1) { __int64 v2; // x20 cocos2d::CCString *v3; // x0 char *CString; // x0 cocos2d::CCString *v5; // x0 const char *v6; // x0 cocos2d::CCTextureCache *v7; // x0 std::string *v8; // x1 cocos2d::CCObject *v9; // x0 std::string v11; // [xsp+10h] [xbp-60h] BYREF void *__p; // [xsp+28h] [xbp-48h] BYREF char v13; // [xsp+3Fh] [xbp-31h] v2 = 0; *a1 = off_100777330; a1[40] = off_100777898; a1[41] = &off_100777908; a1[42] = off_100777920; a1[43] = &off_100777940; a1[44] = off_100777960; a1[51] = off_100777988; a1[54] = off_100777A08; while ( (unsigned int)v2 < (unsigned int)sub_10024A36C(a1[76]) ) { v3 = (cocos2d::CCString *)sub_10024A388(a1[76], v2); CString = (char *)cocos2d::CCString::getCString(v3); sub_100009900(&__p, CString); memset(&v11, 0, sizeof(v11)); if ( PlatformToolbox::isHD() ) v5 = (cocos2d::CCString *)sub_100268F4C("promo_%s-hd.png"); else v5 = (cocos2d::CCString *)sub_100268F4C("promo_%s.png"); v6 = cocos2d::CCString::getCString(v5); std::string::assign(&v11, v6); v7 = cocos2d::CCTextureCache::sharedTextureCache(); if ( (v11.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v8 = &v11; else v8 = (std::string *)v11.__r_.__value_.__r.__words[0]; cocos2d::CCTextureCache::removeTextureForKey(v7, (const char *)v8); if ( SHIBYTE(v11.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v11.__r_.__value_.__l.__data_); if ( v13 < 0 ) operator delete(__p); v2 = (unsigned int)(v2 + 1); } v9 = (cocos2d::CCObject *)a1[76]; if ( v9 ) cocos2d::CCObject::release(v9); return GJDropDownLayer::dGJDropDownLayer(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source