//
// cocos2d::CCProfiler::createAndAddTimerWithName from 0x7f61d4 to 0x7f6240 (108 bytes)
//
// 1 xrefs:
// > cocos2d::CCProfilingBeginTimingBlock @ 0x7f628a
//
// 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 12:01:09 +0000
//
cocos2d::CCProfilingTimer *__fastcall cocos2d::CCProfiler::createAndAddTimerWithName(
cocos2d::CCProfiler *this,
const char *a2,
int a3,
int a4)
{
cocos2d::CCProfilingTimer *v6; // r5
size_t v7; // r0
int v8; // r8
int v10[4]; // [sp+0h] [bp-10h] BYREF
v10[3] = a4;
v6 = (cocos2d::CCProfilingTimer *)operator new(0x68u);
cocos2d::CCProfilingTimer::CCProfilingTimer(v6);
cocos2d::CCProfilingTimer::initWithName(v6, a2);
memset(v10, 0, 12);
v7 = strlen(a2);
v8 = *((_DWORD *)this + 13);
std::string::__init(v10, a2, v7);
cocos2d::CCDictionary::setObject(v8, v6, (int)v10);
std::string::~string((int)v10);
cocos2d::CCObject::release(v6);
return v6;
}