//
// cocos2d::CCTimer::initWithTarget from 0xd2252c to 0xd22570 (68 bytes)
//
// 5 xrefs:
// > cocos2d::CCTimer::timerWithTarget @ 0xd225b4
// > cocos2d::CCTimer::timerWithTarget @ 0xd22618
// > cocos2d::CCTimer::initWithTarget @ 0xd22640
// > cocos2d::CCScheduler::scheduleSelector @ 0xd22db0
// > ??> @ 0x50908
//
// This function is hookable on this platform (idp: arm, 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 13:07:12 +0000
//
__int64 __fastcall cocos2d::CCTimer::initWithTarget(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
int a5,
float a6,
float a7)
{
_QWORD *v8; // x6
v8 = (_QWORD *)(a1 + 88);
*(_QWORD *)(a1 + 56) = a2;
*v8 = a3;
v8[1] = a4;
*(_DWORD *)(a1 + 76) = a5;
*(_BYTE *)(a1 + 69) = a7 > 0.0;
*(float *)(a1 + 64) = -1.0;
*(_BYTE *)(a1 + 68) = a5 == -2;
*(float *)(a1 + 84) = a6;
*(float *)(a1 + 80) = a7;
return 1;
}