//
// sub_1008B60D0 from 0x1008b60d0 to 0x1008b61ba (234 bytes)
//
// 1 xrefs:
// > KeybindCapturePopup::init @ 0x1005b419a
//
// 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:37:23 +0000
//
float *__fastcall sub_1008B60D0(__int64 a1, unsigned __int64 *a2)
{
float *v2; // rbx
v2 = (float *)operator new(0x1B8u);
__bzero(v2, 440);
cocos2d::CCNode::CCNode((__int64)v2);
*(_QWORD *)v2 = off_100BAE850;
*((_QWORD *)v2 + 40) = 0;
*((_BYTE *)v2 + 328) = 0;
*(_QWORD *)(v2 + 83) = 0x3F80000000000000LL;
*(_OWORD *)(v2 + 86) = 0;
*(_OWORD *)(v2 + 90) = 0;
*(_OWORD *)(v2 + 94) = 0;
*(_OWORD *)(v2 + 98) = 0;
sub_1002782A0((_QWORD *)v2 + 51);
sub_1002782A0((_QWORD *)v2 + 52);
sub_1002782A0((_QWORD *)v2 + 53);
sub_1002782A0((_QWORD *)v2 + 54);
if ( sub_1008B5630(v2, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(float *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}