// // cocos2d::CCShatteredTiles3D::create from 0x18003a8f0 to 0x18003a9f5 (261 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b0e58 // // 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 // struct cocos2d::CCShatteredTiles3D *__fastcall cocos2d::CCShatteredTiles3D::create( float a1, struct cocos2d::CCSize *a2, unsigned int a3, char a4) { cocos2d::CCGridAction *v7; // rax cocos2d::CCGridAction *v8; // rbx cocos2d::CCObject *(__stdcall *copyWithZone)(cocos2d::CCGridAction *__hidden, cocos2d::CCZone *); // rdx v7 = (cocos2d::CCGridAction *)operator new(0x70u); v8 = v7; if ( v7 ) { *(_OWORD *)&v7->__vftable = 0; *(_OWORD *)&v7->cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = 0; *(_OWORD *)&v7->m_uIndexInArray = 0; *(_OWORD *)&v7->m_uOrderOfArrival = 0; *(_OWORD *)&v7->m_pTarget = 0; *(_OWORD *)&v7->m_fDuration = 0; *(_OWORD *)&v7[1].__vftable = 0; cocos2d::CCAction::CCAction(v7); v8->m_fDuration = 0.0; v8->__vftable = (cocos2d::CCGridAction_vtbl *)&cocos2d::CCGridAction::`vftable'; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v8[1]); v8->__vftable = (cocos2d::CCGridAction_vtbl *)&cocos2d::CCShatteredTiles3D::`vftable'; } else { v8 = nullptr; } if ( !v8 ) return (struct cocos2d::CCShatteredTiles3D *)v8; copyWithZone = v8->__vftable[1].copyWithZone; if ( (char *)copyWithZone == (char *)cocos2d::CCShatteredTiles3D::initWithDuration ) { if ( cocos2d::CCGridAction::initWithDuration(v8, a1, a2) ) { LOBYTE(v8[1].m_nLuaID) = 0; v8[1].m_uID = a3; BYTE1(v8[1].m_nLuaID) = a4; LABEL_9: cocos2d::CCObject::autorelease(v8); return (struct cocos2d::CCShatteredTiles3D *)v8; } } else if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCGridAction *, cocos2d::CCObject *(__stdcall *)(cocos2d::CCGridAction *__hidden, cocos2d::CCZone *), struct cocos2d::CCSize *, _QWORD, char))copyWithZone)( v8, copyWithZone, a2, a3, a4) ) { goto LABEL_9; } cocos2d::CCObject::release(v8); return nullptr; }