// // OptionsObject::create from 0x1002e0d90 to 0x1002e0e64 (212 bytes) // // 2 xrefs: // > MusicDownloadManager::getAllMusicTags @ 0x100159544 // > MusicDownloadManager::getAllMusicArtists @ 0x100159684 // // 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, __int64 a3, __int64 a4) { char *v8; // x19 std::string __p; // [xsp+0h] [xbp-50h] BYREF v8 = (char *)operator new(0x68u); cocos2d::CCObject::CCObject((__int64)v8); *(_QWORD *)v8 = off_1007DCCB0; *((_DWORD *)v8 + 14) = 0; v8[60] = 0; *((_OWORD *)v8 + 4) = 0u; *((_OWORD *)v8 + 5) = 0u; *((_DWORD *)v8 + 24) = 0; if ( *(char *)(a3 + 23) < 0 ) sub_1000097D0(&__p, *(void **)a3, *(_QWORD *)(a3 + 8)); else __p = *(std::string *)a3; *((_DWORD *)v8 + 14) = a1; v8[60] = a2; std::string::operator=((std::string *)(v8 + 64), &__p); *((_QWORD *)v8 + 11) = a4; if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source