//
// CCBlockLayer::dCCBlockLayer from 0x1400424a0 to 0x14004254b (171 bytes)
//
// 4 xrefs:
// > sub_140042460 @ 0x14004246f
// > sub_1400D9D50 @ 0x1400d9dd9
// > sub_14037C7C0 @ 0x14037c849
// > ??> @ 0x1406c43d4
//
// 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
//
void __fastcall CCBlockLayer::dCCBlockLayer(__int64 a1)
{
__int64 v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
*(_QWORD *)a1 = &CCBlockLayer::`vftable';
*(_QWORD *)(a1 + 320) = &CCBlockLayer::`vftable';
*(_QWORD *)(a1 + 328) = &CCBlockLayer::`vftable';
*(_QWORD *)(a1 + 336) = &CCBlockLayer::`vftable';
*(_QWORD *)(a1 + 344) = &CCBlockLayer::`vftable';
*(_QWORD *)(a1 + 352) = &CCBlockLayer::`vftable';
*(_QWORD *)(a1 + 408) = &CCBlockLayer::`vftable';
*(_QWORD *)(a1 + 432) = &CCBlockLayer::`vftable';
if ( *(_BYTE *)(a1 + 545) )
{
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (struct cocos2d::CCObject *)a1);
}
cocos2d::CCLayerColor::~CCLayerColor((cocos2d::CCLayerColor *)a1);
}