// // OptionsObject::create from 0x1002b05d0 to 0x1002b069f (207 bytes) // // 2 xrefs: // > MusicDownloadManager::getAllMusicTags @ 0x100594611 // > MusicDownloadManager::getAllMusicArtists @ 0x10059476b // // 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 // char *__fastcall OptionsObject::create(int a1, char a2, std::string *a3, __int64 a4) { char *v5; // rbx std::string __str; // [rsp+10h] [rbp-40h] BYREF v5 = (char *)operator new(0x68u); cocos2d::CCObject::CCObject(v5); *(_QWORD *)v5 = off_1008FC6E8; *((_DWORD *)v5 + 14) = 0; v5[60] = 0; *((_OWORD *)v5 + 4) = 0; *((_OWORD *)v5 + 5) = 0; *((_DWORD *)v5 + 24) = 0; if ( (*(_BYTE *)&a3->__r_.__value_.__s.0 & 1) != 0 ) sub_100006B70(&__str, a3->__r_.__value_.__l.__data_, a3->__r_.__value_.__l.__size_, 0.0); else __str = *a3; *((_DWORD *)v5 + 14) = a1; v5[60] = a2; std::string::operator=((std::string *)(v5 + 64), &__str); *((_QWORD *)v5 + 11) = a4; if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__str.__r_.__value_.__l.__data_); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source