//
// sub_100587C20 from 0x100587c20 to 0x100587cd3 (179 bytes)
//
// 1 xrefs:
// > ??> @ 0x10096fbb0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100587C20(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
*(a1 - 40) = off_10096F5E0;
*a1 = off_10096FBB0;
a1[1] = &off_10096FC20;
a1[2] = off_10096FC38;
a1[3] = off_10096FC58;
a1[4] = off_10096FC78;
a1[11] = off_10096FCA0;
a1[14] = off_10096FD20;
a1[39] = off_10096FD40;
a1[40] = &off_10096FD88;
a1[41] = off_10096FDA0;
v2 = (cocos2d::CCObject *)a1[80];
if ( v2 )
cocos2d::CCObject::release(v2);
return SetupTriggerPopup::dSetupTriggerPopup((__int64)(a1 - 40));
}