//
// cocos2d::CCProfiler::createAndAddTimerWithName from 0x5eb110 to 0x5eb170 (96 bytes)
//
// 1 xrefs:
// > cocos2d::CCProfilingBeginTimingBlock @ 0x5eb236
//
// 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
//
cocos2d::CCProfilingTimer *cocos2d::CCProfiler::createAndAddTimerWithName(cocos2d::CCProfiler *a1, const char *a2)
{
cocos2d::CCProfilingTimer *v4; // r5
cocos2d::CCProfiler_vtbl *v5; // r8
const char *v7; // [sp+8h] [bp-8h] BYREF
v4 = (cocos2d::CCProfilingTimer *)operator new(0x60u);
cocos2d::CCProfilingTimer::CCProfilingTimer(v4);
cocos2d::CCProfilingTimer::initWithName(v4, a2);
v5 = a1[1].__vftable;
sub_776584((int)&v7, (char *)a2);
cocos2d::CCDictionary::setObject((int)v5, v4, &v7);
sub_774008(&v7);
cocos2d::CCObject::release(v4);
return v4;
}