//
// sub_10008FBA4 from 0x10008fba4 to 0x10008fc2c (136 bytes)
//
// 4 xrefs:
// > DialogLayer::dDialogLayer @ 0x10008fc30
// > sub_10008FC34 @ 0x10008fc38
// > sub_10008FC3C @ 0x10008fc44
// > sub_10008FC50 @ 0x10008fc5c
//
// 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_10008FBA4(_QWORD *a1)
{
__int64 v2; // x0
__int64 v3; // x0
_DWORD *v4; // x0
*a1 = off_1008CBBF8;
a1[40] = off_1008CC128;
a1[41] = &off_1008CC198;
a1[42] = off_1008CC1B0;
a1[43] = off_1008CC1D0;
a1[44] = off_1008CC1F8;
a1[51] = off_1008CC228;
a1[54] = off_1008CC2A8;
a1[68] = &off_1008CC2C8;
v2 = cocos2d::CCDirector::sharedDirector(a1);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, a1);
v4 = (_DWORD *)a1[74];
if ( v4 )
cocos2d::CCObject::release(v4);
return cocos2d::CCLayerColor::dCCLayerColor(a1);
}