//
// sub_10008F5F4 from 0x10008f5f4 to 0x10008f674 (128 bytes)
//
// 6 xrefs:
// > CCBlockLayer::dCCBlockLayer @ 0x10008f678
// > sub_10008F67C @ 0x10008f680
// > sub_10008F684 @ 0x10008f68c
// > sub_10008F698 @ 0x10008f6a4
// > sub_1001BDF08 @ 0x1001bdfa8
// > sub_100443070 @ 0x1004430f4
//
// This function is hookable on this platform (idp: arm, 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 10:58:23 +0000
//
__int64 __fastcall sub_10008F5F4(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
*(_QWORD *)a1 = off_1008CB4C8;
*(_QWORD *)(a1 + 320) = off_1008CBA40;
*(_QWORD *)(a1 + 328) = &off_1008CBAB0;
*(_QWORD *)(a1 + 336) = off_1008CBAC8;
*(_QWORD *)(a1 + 344) = &off_1008CBAE8;
*(_QWORD *)(a1 + 352) = off_1008CBB10;
*(_QWORD *)(a1 + 408) = off_1008CBB40;
*(_QWORD *)(a1 + 432) = off_1008CBBC0;
if ( *(_BYTE *)(a1 + 545) == 1 )
{
v2 = cocos2d::CCDirector::sharedDirector(a1);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, a1);
}
return cocos2d::CCLayerColor::dCCLayerColor(a1);
}