//
// cocos2d::CCGridAction::initWithDuration from 0x18002b920 to 0x18002b95f (63 bytes)
//
// 66 xrefs:
// > cocos2d::CCLiquid::copyWithZone @ 0x18002c681
// > cocos2d::CCRipple3D::copyWithZone @ 0x18002c7c3
// > cocos2d::CCShaky3D::copyWithZone @ 0x18002c904
// > cocos2d::CCTwirl::copyWithZone @ 0x18002ca38
// > cocos2d::CCWaves3D::copyWithZone @ 0x18002cb71
// > cocos2d::CCWaves::copyWithZone @ 0x18002ccaf
// > cocos2d::CCFlipX3D::create @ 0x18002cdbf
// > cocos2d::CCFlipY3D::create @ 0x18002ceaf
// > cocos2d::CCLiquid::create @ 0x18002d07f
// > cocos2d::CCRipple3D::create @ 0x18002d177
// > cocos2d::CCShaky3D::create @ 0x18002d28a
// > cocos2d::CCTwirl::create @ 0x18002d387
// > cocos2d::CCWaves3D::create @ 0x18002d48f
// > cocos2d::CCWaves::create @ 0x18002d57f
// > cocos2d::CCFlipX3D::initWithDuration @ 0x18002d60f
// > cocos2d::CCLens3D::initWithDuration @ 0x18002d630
// > cocos2d::CCWavesTiles3D::initWithDuration @ 0x18002d6d0
// > cocos2d::CCRipple3D::initWithDuration @ 0x18002d720
// > cocos2d::CCShakyTiles3D::initWithDuration @ 0x18002d790
// > cocos2d::CCTwirl::initWithDuration @ 0x18002d7d0
// > cocos2d::CCWaves::initWithDuration @ 0x18002d830
// > cocos2d::CCFlipX3D::initWithSize @ 0x18002d8a5
// > cocos2d::CCJumpTiles3D::copyWithZone @ 0x18003a341
// > cocos2d::CCJumpTiles3D::create @ 0x18003aedf
// > cocos2d::CCShakyTiles3D::create @ 0x18003afe0
// > cocos2d::CCShatteredTiles3D::create @ 0x18003b0f0
// > cocos2d::CCShuffleTiles::create @ 0x18003b1fb
// > cocos2d::CCSplitCols::create @ 0x18003b32b
// > cocos2d::CCSplitRows::create @ 0x18003b44b
// > cocos2d::CCTurnOffTiles::create @ 0x18003b540
// > cocos2d::CCTurnOffTiles::create @ 0x18003b64d
// > cocos2d::CCWavesTiles3D::create @ 0x18003b755
// > cocos2d::CCShatteredTiles3D::initWithDuration @ 0x18003b890
// > cocos2d::CCShuffleTiles::initWithDuration @ 0x18003b8e0
// > cocos2d::CCSplitCols::initWithDuration @ 0x18003b94b
// > cocos2d::CCSplitRows::initWithDuration @ 0x18003b99b
// > cocos2d::CCTurnOffTiles::initWithDuration @ 0x18003b9c0
// > cocos2d::CCGridAction::create @ 0x18002b5ef
// > cocos2d::CCTiledGrid3DAction::create @ 0x18002b7f9
// > ??> @ 0x1800ee538
// > ??> @ 0x1800ee5c0
// > ??> @ 0x1800ee8a0
// > ??> @ 0x1800ee928
// > ??> @ 0x1800ee9b0
// > ??> @ 0x1800eea48
// > ??> @ 0x1800eeae0
// > ??> @ 0x1800eeb68
// > ??> @ 0x1800eebf0
// > ??> @ 0x1800eec78
// > ??> @ 0x1800eed00
// > ??> @ 0x1800eed88
// > ??> @ 0x1800f0168
// > ??> @ 0x1800f0300
// > ??> @ 0x1800f0390
// > ??> @ 0x1800f0420
// > ??> @ 0x1800f04b0
// > ??> @ 0x1800f0548
// > ??> @ 0x1800f05e0
// > ??> @ 0x1800f0678
// > ??> @ 0x1800f0710
// > ??> @ 0x1800f07a0
// > ??> @ 0x1800f0830
// > ??> @ 0x1800f08b8
// > ??> @ 0x1800f0948
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9c04
//
// 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:21:31 +0000
//
char __fastcall cocos2d::CCGridAction::initWithDuration(
cocos2d::CCGridAction *this,
float a2,
const struct cocos2d::CCSize *a3)
{
if ( !cocos2d::CCActionInterval::initWithDuration(this, a2) )
return 0;
cocos2d::CCSize::operator=((_DWORD *)this + 24, a3);
return 1;
}