//
// cocos2d::CCBMFontConfiguration::parseImageFileName from 0x100396a8c to 0x100396bb4 (296 bytes)
//
// 1 xrefs:
// > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x100395e0c
//
// This function is hookable on this platform (idp: arm, 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 11:03:41 +0000
//
void __fastcall cocos2d::CCBMFontConfiguration::parseImageFileName(__int64 a1, std::string *this, __int64 a3)
{
int v6; // w23
int v7; // w0
int v8; // w23
int v9; // w0
__int64 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 **)(__int64, std::string *, __int64))(*(_QWORD *)v10 + 80LL))(
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_);
}