//
// sub_1002350A8 from 0x1002350a8 to 0x1002351a0 (248 bytes)
//
// 72 xrefs:
// > CommunityCreditsPage::init @ 0x1002355e4
// > CommunityCreditsPage::init @ 0x100235624
// > CommunityCreditsPage::init @ 0x100235664
// > CommunityCreditsPage::init @ 0x1002356a4
// > CommunityCreditsPage::init @ 0x1002356e4
// > CommunityCreditsPage::init @ 0x100235724
// > CommunityCreditsPage::init @ 0x100235764
// > CommunityCreditsPage::init @ 0x1002357a4
// > CommunityCreditsPage::init @ 0x1002357e4
// > CommunityCreditsPage::init @ 0x100235824
// > CommunityCreditsPage::init @ 0x100235864
// > CommunityCreditsPage::init @ 0x1002358a4
// > CommunityCreditsPage::init @ 0x1002358e4
// > CommunityCreditsPage::init @ 0x100235924
// > CommunityCreditsPage::init @ 0x100235964
// > CommunityCreditsPage::init @ 0x1002359a4
// > CommunityCreditsPage::init @ 0x1002359e4
// > CommunityCreditsPage::init @ 0x100235a24
// > CommunityCreditsPage::init @ 0x100235a64
// > CommunityCreditsPage::init @ 0x100235aa4
// > CommunityCreditsPage::init @ 0x100235ae4
// > CommunityCreditsPage::init @ 0x100235b24
// > CommunityCreditsPage::init @ 0x100235b64
// > CommunityCreditsPage::init @ 0x100235ba4
// > CommunityCreditsPage::init @ 0x100235be4
// > CommunityCreditsPage::init @ 0x100235c24
// > CommunityCreditsPage::init @ 0x100235c64
// > CommunityCreditsPage::init @ 0x100235ca4
// > CommunityCreditsPage::init @ 0x100235ce4
// > CommunityCreditsPage::init @ 0x100235d24
// > CommunityCreditsPage::init @ 0x100235d64
// > CommunityCreditsPage::init @ 0x100235da4
// > CommunityCreditsPage::init @ 0x100235de4
// > CommunityCreditsPage::init @ 0x100235e24
// > CommunityCreditsPage::init @ 0x100235e64
// > CommunityCreditsPage::init @ 0x100235ea4
// > CommunityCreditsPage::init @ 0x100235ee4
// > CommunityCreditsPage::init @ 0x100235f24
// > CommunityCreditsPage::init @ 0x100235f64
// > CommunityCreditsPage::init @ 0x100235fa4
// > CommunityCreditsPage::init @ 0x100235fe4
// > CommunityCreditsPage::init @ 0x100236024
// > CommunityCreditsPage::init @ 0x100236064
// > CommunityCreditsPage::init @ 0x1002360a4
// > CommunityCreditsPage::init @ 0x1002360e4
// > CommunityCreditsPage::init @ 0x100236124
// > CommunityCreditsPage::init @ 0x100236164
// > CommunityCreditsPage::init @ 0x1002361a4
// > CommunityCreditsPage::init @ 0x1002361e4
// > CommunityCreditsPage::init @ 0x100236224
// > CommunityCreditsPage::init @ 0x100236264
// > CommunityCreditsPage::init @ 0x1002362a4
// > CommunityCreditsPage::init @ 0x1002362e4
// > CommunityCreditsPage::init @ 0x100236324
// > CommunityCreditsPage::init @ 0x100236364
// > CommunityCreditsPage::init @ 0x1002363a4
// > CommunityCreditsPage::init @ 0x1002363e4
// > CommunityCreditsPage::init @ 0x100236424
// > CommunityCreditsPage::init @ 0x100236464
// > CommunityCreditsPage::init @ 0x1002364a4
// > CommunityCreditsPage::init @ 0x1002364e4
// > CommunityCreditsPage::init @ 0x100236524
// > CommunityCreditsPage::init @ 0x100236564
// > CommunityCreditsPage::init @ 0x1002365a4
// > CommunityCreditsPage::init @ 0x1002365e4
// > CommunityCreditsPage::init @ 0x100236624
// > CommunityCreditsPage::init @ 0x100236664
// > CommunityCreditsPage::init @ 0x1002366a4
// > CommunityCreditsPage::init @ 0x1002366e4
// > CommunityCreditsPage::init @ 0x100236724
// > CommunityCreditsPage::init @ 0x100236764
// > CommunityCreditsPage::init @ 0x1002367a4
//
// 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:01:18 +0000
//
char *__fastcall sub_1002350A8(int a1, int a2, int a3, __int64 a4)
{
char *v8; // x19
int v9; // w23
std::string __p; // [xsp+0h] [xbp-50h] BYREF
v8 = (char *)operator new(0x160u);
cocos2d::CCNode::CCNode();
*(_QWORD *)v8 = off_100902A18;
*((_DWORD *)v8 + 87) = 0;
*(_OWORD *)(v8 + 316) = 0u;
*(_OWORD *)(v8 + 332) = 0u;
if ( *(char *)(a4 + 23) < 0 )
sub_1000097D0(&__p, *(void **)a4, *(_QWORD *)(a4 + 8));
else
__p = *(std::string *)a4;
v9 = cocos2d::CCNode::init(v8);
if ( v9 )
{
*((_DWORD *)v8 + 79) = a1;
*((_DWORD *)v8 + 80) = a2;
*((_DWORD *)v8 + 81) = a3;
std::string::operator=((std::string *)(v8 + 328), &__p);
}
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
{
operator delete(__p.__r_.__value_.__l.__data_);
if ( v9 )
goto LABEL_8;
LABEL_10:
(*(void (__fastcall **)(char *))(*(_QWORD *)v8 + 16LL))(v8);
return nullptr;
}
if ( !v9 )
goto LABEL_10;
LABEL_8:
cocos2d::CCObject::autorelease((__int64)v8);
return v8;
}