// // sub_100666B90 from 0x100666b90 to 0x100666c9a (266 bytes) // // 1 xrefs: // > SFXFolderObject::create @ 0x100651661 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:34:58 +0000 // char __fastcall sub_100666B90(__int64 a1, int a2, std::string *a3, int a4) { _BYTE *v6; // r14 std::string::pointer data; // rdi unsigned int v8; // r15d __int64 v9; // r15 __int64 i; // r13 __int64 v11; // rax char v12; // al __int64 v13; // rcx __int64 v14; // rax std::string __str; // [rsp+0h] [rbp-40h] BYREF if ( (*(_BYTE *)&a3->__r_.__value_.__s.0 & 1) != 0 ) sub_10001AD30(&__str, a3->__r_.__value_.__l.__data_, a3->__r_.__value_.__l.__size_); else __str = *a3; *(_DWORD *)(a1 + 56) = a2; std::string::operator=((std::string *)(a1 + 80), &__str); *(_DWORD *)(a1 + 60) = a4; v6 = (_BYTE *)(a1 + 104); *(_QWORD *)(a1 + 64) = 0; *(_BYTE *)(a1 + 72) = 0; data = (std::string::pointer)(a1 + 104); std::string::operator=((std::string *)(a1 + 104), (const std::string *)(a1 + 80)); v8 = *(unsigned __int8 *)(a1 + 104); if ( (v8 & 1) != 0 ) { v9 = *(_QWORD *)(a1 + 112); if ( !v9 ) goto LABEL_14; } else { v9 = v8 >> 1; if ( !v9 ) goto LABEL_14; } for ( i = 0; i != v9; ++i ) { v11 = a1 + 105; if ( (*v6 & 1) != 0 ) v11 = *(_QWORD *)(a1 + 120); data = (std::string::pointer)*(unsigned __int8 *)(v11 + i); v12 = __tolower((int)data); v13 = a1 + 105; if ( (*v6 & 1) != 0 ) v13 = *(_QWORD *)(a1 + 120); *(_BYTE *)(v13 + i) = v12; } LABEL_14: 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; v14 = sub_1007FE900(data); *(_QWORD *)(a1 + 152) = v14; cocos2d::CCObject::retain(v14); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source