//
// InfoLayer::create from 0x1003eddfc to 0x1003ede84 (136 bytes)
//
// 8 xrefs:
// > sub_10002BA40 @ 0x10002ba64
// > PauseLayer::onSideButtonPressed @ 0x1001bfb6c
// > sub_10022E148 @ 0x10022e190
// > sub_10022E794 @ 0x10022e7b4
// > sub_1002E1CCC @ 0x1002e1cf0
// > sub_1003F1D70 @ 0x1003f1e74
// > sub_1004D2430 @ 0x1004d2450
// > sub_10054A340 @ 0x10054a364
//
// This function is hookable on this platform (idp: arm, 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:04:28 +0000
//
void *__fastcall InfoLayer::create(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
void *v8; // x19
v8 = operator new(0x3C0u);
InfoLayer::InfoLayer();
if ( (unsigned int)InfoLayer::init(v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease((__int64)v8);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v8 + 16LL))(v8);
return nullptr;
}
return v8;
}