//
// CommunityCreditNode::create from 0x14012ceb0 to 0x14012cfe9 (313 bytes)
//
// 73 xrefs:
// > CommunityCreditsPage::init @ 0x14012d336
// > CommunityCreditsPage::init @ 0x14012d364
// > CommunityCreditsPage::init @ 0x14012d392
// > CommunityCreditsPage::init @ 0x14012d3c0
// > CommunityCreditsPage::init @ 0x14012d3ee
// > CommunityCreditsPage::init @ 0x14012d41c
// > CommunityCreditsPage::init @ 0x14012d44a
// > CommunityCreditsPage::init @ 0x14012d478
// > CommunityCreditsPage::init @ 0x14012d4a6
// > CommunityCreditsPage::init @ 0x14012d4d4
// > CommunityCreditsPage::init @ 0x14012d502
// > CommunityCreditsPage::init @ 0x14012d530
// > CommunityCreditsPage::init @ 0x14012d55e
// > CommunityCreditsPage::init @ 0x14012d58c
// > CommunityCreditsPage::init @ 0x14012d5ba
// > CommunityCreditsPage::init @ 0x14012d5e8
// > CommunityCreditsPage::init @ 0x14012d616
// > CommunityCreditsPage::init @ 0x14012d644
// > CommunityCreditsPage::init @ 0x14012d672
// > CommunityCreditsPage::init @ 0x14012d6a0
// > CommunityCreditsPage::init @ 0x14012d6ce
// > CommunityCreditsPage::init @ 0x14012d6fc
// > CommunityCreditsPage::init @ 0x14012d72a
// > CommunityCreditsPage::init @ 0x14012d758
// > CommunityCreditsPage::init @ 0x14012d7a8
// > CommunityCreditsPage::init @ 0x14012d7f8
// > CommunityCreditsPage::init @ 0x14012d84e
// > CommunityCreditsPage::init @ 0x14012d89f
// > CommunityCreditsPage::init @ 0x14012d8f5
// > CommunityCreditsPage::init @ 0x14012d94b
// > CommunityCreditsPage::init @ 0x14012d9a1
// > CommunityCreditsPage::init @ 0x14012d9f2
// > CommunityCreditsPage::init @ 0x14012da44
// > CommunityCreditsPage::init @ 0x14012da96
// > CommunityCreditsPage::init @ 0x14012dae8
// > CommunityCreditsPage::init @ 0x14012db36
// > CommunityCreditsPage::init @ 0x14012db7b
// > CommunityCreditsPage::init @ 0x14012dbd3
// > CommunityCreditsPage::init @ 0x14012dc29
// > CommunityCreditsPage::init @ 0x14012dc6e
// > CommunityCreditsPage::init @ 0x14012dcc0
// > CommunityCreditsPage::init @ 0x14012dd19
// > CommunityCreditsPage::init @ 0x14012dd72
// > CommunityCreditsPage::init @ 0x14012ddb5
// > CommunityCreditsPage::init @ 0x14012de07
// > CommunityCreditsPage::init @ 0x14012de4c
// > CommunityCreditsPage::init @ 0x14012de91
// > CommunityCreditsPage::init @ 0x14012ded6
// > CommunityCreditsPage::init @ 0x14012df28
// > CommunityCreditsPage::init @ 0x14012df6d
// > CommunityCreditsPage::init @ 0x14012dfbe
// > CommunityCreditsPage::init @ 0x14012e00e
// > CommunityCreditsPage::init @ 0x14012e064
// > CommunityCreditsPage::init @ 0x14012e0ba
// > CommunityCreditsPage::init @ 0x14012e112
// > CommunityCreditsPage::init @ 0x14012e157
// > CommunityCreditsPage::init @ 0x14012e1a8
// > CommunityCreditsPage::init @ 0x14012e1f6
// > CommunityCreditsPage::init @ 0x14012e244
// > CommunityCreditsPage::init @ 0x14012e29a
// > CommunityCreditsPage::init @ 0x14012e2ec
// > CommunityCreditsPage::init @ 0x14012e33c
// > CommunityCreditsPage::init @ 0x14012e381
// > CommunityCreditsPage::init @ 0x14012e3c6
// > CommunityCreditsPage::init @ 0x14012e414
// > CommunityCreditsPage::init @ 0x14012e457
// > CommunityCreditsPage::init @ 0x14012e4b0
// > CommunityCreditsPage::init @ 0x14012e506
// > CommunityCreditsPage::init @ 0x14012e55c
// > CommunityCreditsPage::init @ 0x14012e5ad
// > CommunityCreditsPage::init @ 0x14012e5f2
// > CommunityCreditsPage::init @ 0x14012e620
// > ??> @ 0x140916d00
//
// This function is hookable on this platform (idp: pc, 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:27:01 +0000
//
// Hidden C++ exception states: #wind=3
void **__fastcall CommunityCreditNode::create(int a1, int a2, __int64 a3, __int64 a4)
{
void **v7; // rbx
void **v8; // rdi
void *v9; // rdx
_BYTE v11[32]; // [rsp+28h] [rbp-60h] BYREF
__int64 v12; // [rsp+48h] [rbp-40h]
v12 = a4;
v7 = (void **)operator new(0x170u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v7);
*v7 = &CommunityCreditNode::`vftable';
v7[40] = nullptr;
*((_DWORD *)v7 + 82) = 0;
*((_OWORD *)v7 + 21) = 0;
v7[44] = nullptr;
v7[45] = (void *)15;
*((_BYTE *)v7 + 336) = 0;
v8 = (void **)sub_14003F4F0((__int64)v11, a4);
if ( cocos2d::CCNode::init((cocos2d::CCNode *)v7) )
{
*((_DWORD *)v7 + 80) = a1;
*((_DWORD *)v7 + 81) = a2;
*((_DWORD *)v7 + 82) = 0;
if ( v7 + 42 != v8 )
{
v9 = v8;
if ( (unsigned __int64)v8[3] > 0xF )
v9 = *v8;
sub_1400405A0(v7 + 42, v9, (size_t)v8[2]);
}
sub_14003D310((__int64)v8);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);
}
else
{
sub_14003D310((__int64)v8);
(*((void (__fastcall **)(void **, __int64))*v7 + 1))(v7, 1);
v7 = nullptr;
}
sub_14003D310(a4);
return v7;
}