//
// GJSelectionStrip::create from 0x1403a8e00 to 0x1403a8f8c (396 bytes)
//
// 5 xrefs:
// > AutoBackupPopup::init @ 0x1400c9fe2
// > MessageThreadsPage::init @ 0x1400d58a0
// > FRequestProfilePage::init @ 0x14020fce4
// > LevelBrowserLayer::init @ 0x1403e2dd5
// > ??> @ 0x1409238f4
//
// 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:31:20 +0000
//
// Hidden C++ exception states: #wind=2
char *__fastcall GJSelectionStrip::create(
__int64 a1,
__int64 a2,
const struct cocos2d::CCPoint *a3,
float a4,
__int64 a5,
__int64 a6)
{
char *v9; // rdi
__int64 v10; // rax
__int64 v11; // rbx
int v12; // r8d
char *v14; // [rsp+30h] [rbp-38h] BYREF
v9 = (char *)operator new(0x198u);
v14 = v9;
memset(v9, 0, 0x198u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v9);
*(_QWORD *)v9 = &GJSelectionStrip::`vftable';
*((_QWORD *)v9 + 40) = 0;
*((_QWORD *)v9 + 41) = 0;
*((_QWORD *)v9 + 42) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v9 + 344));
*((_DWORD *)v9 + 88) = 1065353216;
*((_QWORD *)v9 + 45) = 0;
*((_QWORD *)v9 + 46) = 0;
v9[376] = 1;
*((_QWORD *)v9 + 48) = 0;
*((_QWORD *)v9 + 49) = 0;
*((_QWORD *)v9 + 50) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, a3);
v11 = v10;
if ( cocos2d::CCNode::init((cocos2d::CCNode *)v9) )
{
*((_QWORD *)v9 + 40) = a1;
*((_QWORD *)v9 + 41) = a2;
cocos2d::CCPoint::operator=(v9 + 344, v11);
*((float *)v9 + 88) = a4;
*((_QWORD *)v9 + 42) = a5;
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)a2 + 464LL))(a2, v9);
*((_QWORD *)v9 + 46) = GJSelectionStrip::addButton(
(_DWORD)v9,
(unsigned int)"threadBtn_selectAll_001.png",
v12,
a6,
1068708659);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9);
return v9;
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v9 + 8LL))(v9, 1);
return nullptr;
}
}