//
// sub_1006C9300 from 0x1006c9300 to 0x1006c93bc (188 bytes)
//
// 0 xrefs:
//
// 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:35:35 +0000
//
__int64 __fastcall sub_1006C9300(__int64 a1, const std::string::value_type *a2)
{
__int64 v2; // rax
std::string *v3; // rax
std::string v5; // [rsp+8h] [rbp-48h] BYREF
__int128 v6; // [rsp+20h] [rbp-30h]
void *__p; // [rsp+30h] [rbp-20h]
if ( cocos2d::CCRenderTexture::newCCImage(a1, 1) )
{
v2 = cocos2d::CCFileUtils::sharedFileUtils(a1, 1);
(*(void (__fastcall **)(std::string *, __int64))(*(_QWORD *)v2 + 144LL))(&v5, v2);
v3 = std::string::append(&v5, a2);
__p = v3->__r_.__value_.__l.__data_;
v6 = *(_OWORD *)&v3->__r_.__value_.__l.0;
*(_OWORD *)&v3->__r_.__value_.__l.0 = 0;
v3->__r_.__value_.__r.__words[2] = 0;
if ( (*(_BYTE *)&v5.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v5.__r_.__value_.__l.__data_);
sub_10047FE20();
}
return 0;
}