//
// CCBlockLayer::dCCBlockLayer from 0x1005179c0 to 0x100517a68 (168 bytes)
//
// 10 xrefs:
// > sub_100291010 @ 0x100291015
// > sub_100291020 @ 0x100291025
// > sub_100291030 @ 0x10029103c
// > sub_100291050 @ 0x100291059
// > sub_100291070 @ 0x100291083
// > sub_1003D5B90 @ 0x1003d5b95
// > sub_1003D5BA0 @ 0x1003d5ba5
// > sub_1003D5BB0 @ 0x1003d5bbc
// > sub_1003D5BD0 @ 0x1003d5bd9
// > sub_1003D5BF0 @ 0x1003d5c03
//
// 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 *v1; // rax
cocos2d::CCTouchDispatcher *v2; // rax
*(_QWORD *)a1 = off_10095FCC0;
*(_QWORD *)(a1 + 320) = off_100960228;
*(_QWORD *)(a1 + 328) = &off_100960298;
*(_QWORD *)(a1 + 336) = off_1009602B0;
*(_QWORD *)(a1 + 344) = off_1009602D0;
*(_QWORD *)(a1 + 352) = off_1009602F0;
*(_QWORD *)(a1 + 408) = off_100960318;
*(_QWORD *)(a1 + 432) = off_100960398;
if ( *(_BYTE *)(a1 + 545) == 1 )
{
v1 = cocos2d::CCDirector::sharedDirector();
v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v2, (cocos2d::CCObject *)a1);
}
return cocos2d::CCLayerColor::dCCLayerColor((_QWORD *)a1);
}