//
// sub_100268920 from 0x100268920 to 0x100268956 (54 bytes)
//
// 1 xrefs:
// > ??> @ 0x100af6e80
//
// This function is hookable on this platform (idp: pc, 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 12:27:34 +0000
//
__int64 __fastcall sub_100268920(__int64 a1, __int64 a2)
{
unsigned int v2; // ebx
__int64 v3; // rdi
v2 = cocos2d::CCIMEDelegate::attachWithIME(a1);
if ( (_BYTE)v2 )
{
v3 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(a1, a2) + 192);
if ( v3 )
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 40LL))(v3, 1);
}
return v2;
}