//
// FindObjectPopup::onOptions from 0x140180ad0 to 0x140180c1d (333 bytes)
//
// 2 xrefs:
// > FindObjectPopup::onBuildWindowContent @ 0x1401808e8
// > ??> @ 0x140918b90
//
// 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 11:27:36 +0000
//
// Hidden C++ exception states: #wind=1
__int64 FindObjectPopup::onOptions()
{
void *v0; // rbx
__int64 (__fastcall *v1)(void *); // rdx
v0 = operator new(0x470u);
memset(v0, 0, 0x470u);
GJOptionsLayer::GJOptionsLayer((__int64)v0);
*(_QWORD *)v0 = &FindObjectOptionsLayer::`vftable';
*((_QWORD *)v0 + 40) = &FindObjectOptionsLayer::`vftable';
*((_QWORD *)v0 + 41) = &FindObjectOptionsLayer::`vftable';
*((_QWORD *)v0 + 42) = &FindObjectOptionsLayer::`vftable';
*((_QWORD *)v0 + 43) = &FindObjectOptionsLayer::`vftable';
*((_QWORD *)v0 + 44) = &FindObjectOptionsLayer::`vftable';
*((_QWORD *)v0 + 51) = &FindObjectOptionsLayer::`vftable';
*((_QWORD *)v0 + 54) = &FindObjectOptionsLayer::`vftable';
*((_QWORD *)v0 + 68) = &FindObjectOptionsLayer::`vftable';
*((_QWORD *)v0 + 83) = &FindObjectOptionsLayer::`vftable';
*((_QWORD *)v0 + 84) = &FindObjectOptionsLayer::`vftable';
*((_DWORD *)v0 + 250) = 1108344832;
*((_DWORD *)v0 + 255) = 1053609165;
if ( (unsigned __int8)GJOptionsLayer::init(v0, 1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);
v0 = nullptr;
}
v1 = *(__int64 (__fastcall **)(void *))(*(_QWORD *)v0 + 1064LL);
if ( (char *)v1 == (char *)SetupTriggerPopup::show )
return SetupTriggerPopup::show(v0);
else
return v1(v0);
}