//
// GJBaseGameLayer::getRecordExtra from 0x1002017d4 to 0x100201888 (180 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::getRecordString @ 0x100201d2c
//
// 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 __usercall GJBaseGameLayer::getRecordExtra(__int64 a1@, _QWORD *a2@)
{
std::string *v4; // x8
const char *v5; // x11
cocos2d::CCString *v6; // x0
char *CString; // x0
std::string v8; // [xsp+38h] [xbp-38h] BYREF
std::to_string(&v8, *(_QWORD *)(a1 + 12656));
if ( (v8.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v4 = &v8;
else
v4 = (std::string *)v8.__r_.__value_.__r.__words[0];
v5 = (const char *)(a1 + 12920);
if ( *(char *)(a1 + 12943) < 0 )
v5 = *(const char **)v5;
v6 = (cocos2d::CCString *)sub_100268F4C(
"#%s,%i,%i,%i,%i,%s",
(const char *)v4,
*(_DWORD *)(a1 + 12944),
22,
48,
*(_DWORD *)(*(_QWORD *)(a1 + 1936) + 672LL),
v5);
CString = (char *)cocos2d::CCString::getCString(v6);
sub_100009900(a2, CString);
if ( SHIBYTE(v8.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v8.__r_.__value_.__l.__data_);
}