//
// MapSelectLayer::create from 0x63f3b8 to 0x63f470 (184 bytes)
//
// 1 xrefs:
// > MapSelectLayer::scene @ 0x63f482
//
// 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:55:27 +0000
//
int *__fastcall MapSelectLayer::create(MapSelectLayer *this)
{
int *v1; // r4
int v2; // r3
int v3; // r3
int *v4; // r0
v1 = (int *)operator new(0x178u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v1);
*((_QWORD *)v1 + 42) = 0;
*v1 = (int)&off_CCF710;
v1[66] = (int)&off_CCF95C;
v1[67] = (int)&off_CCF994;
v1[68] = (int)&off_CCF9A0;
v1[69] = (int)&off_CCF9B0;
v1[70] = (int)&off_CCF9C4;
v1[79] = 0;
v1[81] = 0;
*((_BYTE *)v1 + 328) = 0;
*((_BYTE *)v1 + 329) = 0;
*((_BYTE *)v1 + 330) = 0;
*((_BYTE *)v1 + 331) = 0;
*((_BYTE *)v1 + 344) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 87));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 89));
v2 = *v1;
v1[91] = 0;
v1[92] = 0;
if ( (*(int (__fastcall **)(int *))(v2 + 40))(v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
v3 = *v1;
v4 = v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v3 + 8))(v4);
}
return v1;
}