//
// cocos2d::CCBMFontConfiguration::parseImageFileName from 0x1002fa168 to 0x1002fa290 (296 bytes)
//
// 1 xrefs:
// > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x1002f94e8
//
// 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
//
void __fastcall cocos2d::CCBMFontConfiguration::parseImageFileName(__int64 a1, std::string *this, __int64 a3)
{
int v6; // w23
int v7; // w0
int v8; // w23
int v9; // w0
cocos2d::CCFileUtils *v10; // x0
std::string *v11; // x1
const std::string::value_type *v12; // x0
std::string __a; // [xsp+8h] [xbp-68h] BYREF
std::string v14; // [xsp+20h] [xbp-50h] BYREF
std::allocator v15; // [xsp+3Fh] [xbp-31h] BYREF
v6 = std::string::find(this, 61, 0) + 1;
v7 = std::string::find(this, 32, v6);
std::string::basic_string(&v14, this, v6, v7 - v6, (std::allocator *)&__a);
v8 = std::string::find(this, 34, 0) + 1;
v9 = std::string::find(this, 34, v8);
std::string::basic_string(&__a, this, v8, v9 - v8, &v15);
if ( SHIBYTE(v14.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v14.__r_.__value_.__l.__data_);
v14 = __a;
v10 = cocos2d::CCFileUtils::sharedFileUtils();
if ( (v14.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v11 = &v14;
else
v11 = (std::string *)v14.__r_.__value_.__r.__words[0];
v12 = (const std::string::value_type *)((__int64 (__fastcall *)(cocos2d::CCFileUtils *, std::string *, __int64))v10->getFileData)(
v10,
v11,
a3);
std::string::assign((std::string *)(a1 + 88), v12);
if ( SHIBYTE(v14.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v14.__r_.__value_.__l.__data_);
}