//
// cocos2d::CCProfiler::sharedProfiler from 0x1004e6bc0 to 0x1004e6c39 (121 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:31:20 +0000
//
__int64 cocos2d::CCProfiler::sharedProfiler()
{
__int64 result; // rax
_OWORD *v1; // rbx
void *v2; // r14
result = qword_100BE4490;
if ( !qword_100BE4490 )
{
v1 = operator new(0x40u);
*v1 = 0;
v1[1] = 0;
v1[2] = 0;
v1[3] = 0;
cocos2d::CCObject::CCObject((__int64)v1);
*(_QWORD *)v1 = off_100B630C8;
qword_100BE4490 = (__int64)v1;
v2 = operator new(0x48u);
cocos2d::CCDictionary::CCDictionary((__int64)v2);
*((_QWORD *)v1 + 7) = v2;
return qword_100BE4490;
}
return result;
}