//
// CCBlockLayer::dCCBlockLayer from 0x100086190 to 0x100086210 (128 bytes)
//
// 12 xrefs:
// > j_CCBlockLayer::dCCBlockLayer @ 0x100086214
// > sub_100086218 @ 0x10008621c
// > sub_100086220 @ 0x100086228
// > sub_100086234 @ 0x100086240
// > j_CCBlockLayer::dCCBlockLayer_0 @ 0x100141d00
// > sub_100141D04 @ 0x100141d08
// > sub_100141D0C @ 0x100141d14
// > sub_100141D20 @ 0x100141d2c
// > j_CCBlockLayer::dCCBlockLayer_1 @ 0x10039ba98
// > sub_10039BA9C @ 0x10039baa0
// > sub_10039BAA4 @ 0x10039baac
// > sub_10039BAB8 @ 0x10039bac4
//
// 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
//
__int64 __fastcall CCBlockLayer::dCCBlockLayer(__int64 a1)
{
cocos2d::CCDirector *v2; // x0
cocos2d::CCTouchDispatcher *v3; // x0
*(_QWORD *)a1 = off_10077E368;
*(_QWORD *)(a1 + 320) = off_10077E8D0;
*(_QWORD *)(a1 + 328) = &off_10077E940;
*(_QWORD *)(a1 + 336) = off_10077E958;
*(_QWORD *)(a1 + 344) = &off_10077E978;
*(_QWORD *)(a1 + 352) = off_10077E998;
*(_QWORD *)(a1 + 408) = off_10077E9C0;
*(_QWORD *)(a1 + 432) = off_10077EA40;
if ( *(_BYTE *)(a1 + 545) == 1 )
{
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getTouchDispatcher)(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (cocos2d::CCObject *)a1);
}
return cocos2d::CCLayerColor::dCCLayerColor(a1);
}