//
// cocos2d::CCTimer::timerWithTarget from 0x1800c5da0 to 0x1800c5e4f (175 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c3834
//
// 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 11:22:27 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCObject *__fastcall cocos2d::CCTimer::timerWithTarget(__int64 a1, __int64 a2, float a3)
{
cocos2d::CCObject *v5; // rax
cocos2d::CCObject *v6; // rbx
v5 = (cocos2d::CCObject *)sub_1800E4AC0(0x68u);
v6 = v5;
if ( v5 )
{
cocos2d::CCObject::CCObject(v5);
*(_QWORD *)v6 = &cocos2d::CCTimer::`vftable';
LODWORD(v5) = 0;
*((_QWORD *)v6 + 7) = 0;
*((_DWORD *)v6 + 16) = -1082130432;
*((_WORD *)v6 + 34) = 0;
*((_QWORD *)v6 + 9) = 0;
*((_QWORD *)v6 + 10) = 0;
*((_QWORD *)v6 + 11) = 0;
*((_DWORD *)v6 + 24) = 0;
}
else
{
v6 = nullptr;
}
*((_QWORD *)v6 + 7) = a1;
*((_QWORD *)v6 + 11) = a2;
*((_DWORD *)v6 + 16) = -1082130432;
*((float *)v6 + 21) = a3;
*((_DWORD *)v6 + 20) = (_DWORD)v5;
*((_WORD *)v6 + 34) = 1;
*((_DWORD *)v6 + 19) = -2;
cocos2d::CCObject::autorelease(v6);
return v6;
}