//
// sub_100269810 from 0x100269810 to 0x1002698d3 (195 bytes)
//
// 0 xrefs:
//
// 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 12:27:35 +0000
//
_OWORD *__fastcall sub_100269810(__int64 a1, int a2, double a3, float a4)
{
_OWORD *v4; // rbx
v4 = operator new(0x70u);
*v4 = 0;
v4[1] = 0;
v4[2] = 0;
v4[3] = 0;
v4[4] = 0;
v4[5] = 0;
v4[6] = 0;
cocos2d::CCAction::CCAction(v4);
*((_DWORD *)v4 + 20) = 0;
*(_QWORD *)v4 = off_100AE05B0;
sub_100278600((char *)v4 + 92);
*(_QWORD *)v4 = off_100AF6F38;
if ( (unsigned __int8)cocos2d::CCGridAction::initWithDuration((__int64)v4, a1) )
{
*((_DWORD *)v4 + 25) = a2;
*((float *)v4 + 26) = a4;
*((_DWORD *)v4 + 27) = 1065353216;
cocos2d::CCObject::autorelease(v4);
}
else
{
cocos2d::CCObject::release(v4);
return nullptr;
}
return v4;
}