//
// GJBaseGameLayer::getRecordExtra from 0x59c994 to 0x59ca02 (110 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::getRecordString @ 0x5be996
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:13 +0000
//
GJBaseGameLayer *__fastcall GJBaseGameLayer::getRecordExtra(GJBaseGameLayer *this, int a2)
{
int v3; // r3
cocos2d::CCString *v4; // r0
const char *CString; // r0
const char *v6; // r5
size_t v7; // r0
if ( (*(_BYTE *)(a2 + 11120) & 1) != 0 )
v3 = *(_DWORD *)(a2 + 11128);
else
v3 = a2 + 11121;
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"#%llu,%i,%i,%i,%i,%s",
(const char *)&word_32 + 1,
*(_QWORD *)(a2 + 10976),
*(_DWORD *)(a2 + 11132),
22,
(char *)&word_32 + 1,
*(_DWORD *)(*(_DWORD *)(a2 + 1408) + 612),
v3);
CString = (const char *)cocos2d::CCString::getCString(v4);
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
v6 = CString;
v7 = strlen(CString);
std::string::__init((int *)this, v6, v7);
return this;
}