//
// FindObjectPopup::create from 0x77b2a8 to 0x77b46a (450 bytes)
//
// 1 xrefs:
// > EditorUI::toggleWindow @ 0x488f24
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:23 +0000
//
int *__fastcall FindObjectPopup::create(FindObjectPopup *this, EditorUI *a2)
{
int *v3; // r4
int v4; // r3
int *v5; // r0
v3 = (int *)operator new(0x34Cu);
memset(v3, 0, 0x34Cu);
SetupTriggerPopup::SetupTriggerPopup((SetupTriggerPopup *)v3);
v3[185] = 1065353216;
*v3 = (int)&off_CFA738;
v3[66] = (int)&unk_CFAA40;
v3[67] = (int)&off_CFAA78;
v3[68] = (int)&off_CFAA84;
v3[69] = (int)&off_CFAA94;
v3[70] = (int)&off_CFAAA8;
v3[79] = (int)&off_CFAAC0;
v3[83] = (int)&off_CFAB00;
v3[110] = (int)&off_CFAB10;
v3[130] = (int)&off_CFAB34;
v3[131] = (int)&off_CFAB40;
v3[183] = 0;
v3[178] = 0;
v3[179] = 0;
v3[180] = 0;
v3[181] = 0;
v3[182] = 0;
v3[184] = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 186));
*((_BYTE *)v3 + 756) = 0;
v3[188] = -1;
*((_BYTE *)v3 + 757) = 0;
*((_BYTE *)v3 + 758) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 190));
*((_BYTE *)v3 + 768) = 0;
*((_BYTE *)v3 + 769) = 0;
*((_BYTE *)v3 + 770) = 0;
*((_BYTE *)v3 + 771) = 0;
v3[193] = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 194));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 196));
v3[198] = 1;
v3[208] = 1;
v3[201] = 1120403456;
*((_BYTE *)v3 + 796) = 0;
v3[202] = 1114636288;
v3[207] = 0;
*((_BYTE *)v3 + 836) = 0;
v3[203] = 1203982208;
v3[204] = 1203982208;
v3[210] = 0;
v3[205] = 1056964608;
v3[200] = 1065353216;
v3[206] = 0x40000000;
*v3 = (int)&off_CF78D8;
v3[66] = (int)&off_CF7BE0;
v3[67] = (int)&off_CF7C18;
v3[68] = (int)&off_CF7C24;
v3[69] = (int)&off_CF7C34;
v3[70] = (int)&off_CF7C48;
v3[79] = (int)&off_CF7C60;
v3[83] = (int)&off_CF7CA0;
v3[110] = (int)&off_CF7CB0;
v3[130] = (int)&off_CF7CD4;
v3[131] = (int)&off_CF7CE0;
if ( FindObjectPopup::init((FindObjectPopup *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
v4 = *v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(int *))(v4 + 8))(v5);
}
return v3;
}