// // SFXFolderObject::init from 0x100598f90 to 0x100599022 (146 bytes) // // 1 xrefs: // > SFXFolderObject::create @ 0x1005965e7 // // 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 SFXFolderObject::init(__int64 a1, int a2, std::string *a3, int a4, double a5) { std::string::pointer data; // rdi cocos2d::CCObject *v8; // rax std::string __str; // [rsp+0h] [rbp-30h] BYREF if ( (*(_BYTE *)&a3->__r_.__value_.__s.0 & 1) != 0 ) sub_100006B70(&__str, a3->__r_.__value_.__l.__data_, a3->__r_.__value_.__l.__size_, a5); else __str = *a3; *(_DWORD *)(a1 + 56) = a2; data = (std::string::pointer)(a1 + 80); std::string::operator=((std::string *)(a1 + 80), &__str); *(_DWORD *)(a1 + 60) = a4; *(_QWORD *)(a1 + 64) = 0; *(_BYTE *)(a1 + 72) = 0; if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) { data = __str.__r_.__value_.__l.__data_; operator delete(__str.__r_.__value_.__l.__data_); } *(_BYTE *)(a1 + 72) = 1; v8 = (cocos2d::CCObject *)sub_10071F9E0(data, &__str); *(_QWORD *)(a1 + 104) = v8; cocos2d::CCObject::retain(v8); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source