//
// SimplePlayer::create from 0x8bd934 to 0x8bda08 (212 bytes)
//
// 15 xrefs:
// > GJThreadCell::loadFromThread @ 0x73e304
// > GJScoreCell::loadFromScore @ 0x743340
// > GJCompactUserCell::buildUserRow @ 0x7448a4
// > GJLevelScoreCell::loadFromScore @ 0x749484
// > CommentCell::loadFromComment @ 0x74bc54
// > GJItemIcon::init @ 0x8bdd1c
// > GJGarageLayer::init @ 0x8c1fe4
// > GJBaseGameLayer::playExitDualEffect @ 0x99ea00
// > ProfilePage::loadPageFromUserInfo @ 0xa59d9c
// > MapSelectLayer::init @ 0xac4194
// > CharacterColorPage::init @ 0xb5275c
// > CharacterColorPage::init @ 0xb52bc4
// > sub_C630DC @ 0xc63110
// > ThreadViewPopup::mountVirtualRow @ 0xc8b348
// > ??> @ 0x532f0
//
// 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 12:56:29 +0000
//
__int64 __fastcall SimplePlayer::create(SimplePlayer *this)
{
int v1; // w20
__int64 v2; // x19
v1 = (int)this;
v2 = operator new(0x2A8u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v2);
*(_QWORD *)(v2 + 600) = 0;
*(_QWORD *)v2 = &off_145ADC0;
*(_QWORD *)(v2 + 320) = &off_145B2A8;
*(_QWORD *)(v2 + 344) = &off_145B328;
*(_QWORD *)(v2 + 608) = 0;
*(_QWORD *)(v2 + 616) = 0;
*(_QWORD *)(v2 + 624) = 0;
*(_QWORD *)(v2 + 632) = 0;
*(_QWORD *)(v2 + 640) = 0;
*(_QWORD *)(v2 + 648) = 0;
*(_DWORD *)(v2 + 656) = 0;
*(_BYTE *)(v2 + 660) = 0;
*(_DWORD *)(v2 + 664) = 0;
*(_BYTE *)(v2 + 668) = 0;
*(_BYTE *)(v2 + 672) = 0;
if ( (unsigned __int8)SimplePlayer::init((SimplePlayer *)v2, v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return 0;
}
}