//
// SelectPremadeLayer::onSelectPremade from 0x696174 to 0x69619e (42 bytes)
//
// 0 xrefs:
//
// 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:56:15 +0000
//
int __fastcall SelectPremadeLayer::onSelectPremade(SelectPremadeLayer *this, cocos2d::CCObject *a2)
{
void (__fastcall ***v3)(_DWORD, SelectPremadeLayer *, int); // r5
void (__fastcall *v4)(_DWORD, SelectPremadeLayer *, int); // r6
int v5; // r0
v3 = *((void (__fastcall ****)(_DWORD, SelectPremadeLayer *, int))this + 130);
if ( v3 )
{
v4 = **v3;
v5 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v4(v3, this, v5);
}
return SelectPremadeLayer::onClose(this, nullptr);
}