//
// CustomizeObjectLayer::onSettings from 0x1001d9a50 to 0x1001d9b62 (274 bytes)
//
// 1 xrefs:
// > CustomizeObjectLayer::init @ 0x1001d7b13
//
// 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:26:25 +0000
//
__int64 __fastcall CustomizeObjectLayer::onSettings(__int64 a1)
{
__int64 v1; // r15
__int64 v2; // r12
_QWORD *v3; // rbx
v1 = *(_QWORD *)(a1 + 688);
v2 = *(_QWORD *)(a1 + 696);
v3 = operator new(0x408u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v3);
*v3 = off_100ADDCB8;
v3[40] = off_100ADE2A8;
v3[41] = &off_100ADE318;
v3[42] = off_100ADE330;
v3[43] = off_100ADE350;
v3[44] = off_100ADE378;
v3[51] = off_100ADE3A8;
v3[54] = off_100ADE428;
v3[68] = off_100ADE448;
v3[83] = &off_100ADE490;
v3[84] = off_100ADE4A8;
v3[127] = 0;
*((_BYTE *)v3 + 1024) = 0;
if ( !(unsigned __int8)CustomizeObjectSettingsPopup::init(v3, v1, v2, a1) )
sub_1009A64D0(v3);
cocos2d::CCObject::autorelease(v3);
return (*(__int64 (__fastcall **)(_QWORD *))(*v3 + 1312LL))(v3);
}