//
// cocos2d::CCProfilingBeginTimingBlock from 0x5eb1fc to 0x5eb25e (98 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::CCProfilingBeginTimingBlock(const char *a1)
{
cocos2d::CCProfiler *v2; // r0
int v3; // r5
cocos2d::CCProfiler *v4; // r8
cocos2d::CCProfilingTimer *v5; // r5
const char *v6; // [sp+8h] [bp-8h] BYREF
v2 = cocos2d::CCProfiler::sharedProfiler();
v3 = (int)v2[1].__vftable;
v4 = v2;
sub_776584((int)&v6, (char *)a1);
v5 = (cocos2d::CCProfilingTimer *)cocos2d::CCDictionary::objectForKey(v3, &v6);
sub_774008(&v6);
if ( !v5 )
v5 = cocos2d::CCProfiler::createAndAddTimerWithName(v4, a1);
++v5[1].m_uID;
gettimeofday((struct timeval *)&v5[1].m_unknown2, nullptr);
}