//
// sub_1008B7600 from 0x1008b7600 to 0x1008b76a9 (169 bytes)
//
// 2 xrefs:
// > DeathTrackerPopup::init @ 0x1008cbb62
// > DeathTrackerPopup::init @ 0x1008cbdfa
//
// 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:24 +0000
//
char *__fastcall sub_1008B7600(_QWORD *a1)
{
__int64 v1; // rax
char *v2; // rbx
_QWORD v4[4]; // [rsp+0h] [rbp-20h] BYREF
v4[0] = v1;
v2 = (char *)operator new(0x188u);
cocos2d::CCNode::CCNode((__int64)v2);
*(_QWORD *)v2 = off_100BAF4D0;
sub_100278600(v2 + 316);
*(_OWORD *)(v2 + 340) = 0;
*(_OWORD *)(v2 + 328) = 0;
sub_1002787A0(v2 + 356);
sub_1002787A0(v2 + 372);
sub_100278630(v4, a1);
if ( (unsigned __int8)sub_1008B76E0(v2, v4) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}