//
// FindObjectPopup::init from 0x4afecc to 0x4aff56 (138 bytes)
//
// 1 xrefs:
// > FindObjectPopup::create @ 0x4b0200
//
// 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
//
bool FindObjectPopup::init(FindObjectPopup *a1)
{
int v2; // r7
cocos2d::CCDirector *v3; // r0
_BYTE v5[4]; // [sp+28h] [bp-14h] BYREF
cocos2d::CCSize v6; // [sp+2Ch] [bp-10h] BYREF
sub_776584((int)v5, "Find GroupID");
sub_776584((int)&v6, "OK");
v2 = SetIDPopup::init(
a1,
0,
0,
(int)"s of X position. These triggers need to use Group ID and have Spawn Trigger enabled.\nPreview Disable disables activation while not playtesting in editor.\nSpawn Ordered spawns the triggers in order from left to right.\nUse remapping (page 2) to copy a Spawn setup to another group.",
(int)v5,
(ButtonSprite **)&v6,
0,
0,
0.0,
1,
0);
sub_774008(&v6);
sub_774008(v5);
if ( v2 )
{
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(&v6, v3);
}
return v2;
}