//
// IDNameBrowserPopup::create from 0x100909330 to 0x100909553 (547 bytes)
//
// 1 xrefs:
// > sub_100914680 @ 0x10091475f
//
// 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 12:38:06 +0000
//
char *__fastcall IDNameBrowserPopup::create(unsigned int a1, unsigned int a2, __int64 a3)
{
char *v4; // rbx
v4 = (char *)operator new(0x310u);
cocos2d::CCLayerColor::CCLayerColor((__int64)v4);
*(_QWORD *)v4 = off_100B4FB70;
*((_QWORD *)v4 + 40) = off_100B500C0;
*((_QWORD *)v4 + 41) = &off_100B50130;
*((_QWORD *)v4 + 42) = off_100B50148;
*((_QWORD *)v4 + 43) = off_100B50168;
*((_QWORD *)v4 + 44) = off_100B50190;
*((_QWORD *)v4 + 51) = off_100B501C0;
*((_QWORD *)v4 + 54) = off_100B50240;
*((_QWORD *)v4 + 68) = off_100B50260;
*(_OWORD *)(v4 + 552) = 0;
*(_OWORD *)(v4 + 561) = 0;
*(_OWORD *)(v4 + 584) = 0;
sub_1002782A0((_QWORD *)v4 + 75);
*((_OWORD *)v4 + 38) = 0;
*((_QWORD *)v4 + 78) = 0;
*((_DWORD *)v4 + 158) = -1;
*((_WORD *)v4 + 318) = 0;
*((_DWORD *)v4 + 160) = -1;
v4[644] = 0;
*((_QWORD *)v4 + 81) = 0;
v4[656] = 0;
*(_QWORD *)v4 = off_100BBF950;
*((_QWORD *)v4 + 40) = off_100BBFEC8;
*((_QWORD *)v4 + 41) = &off_100BBFF38;
*((_QWORD *)v4 + 42) = off_100BBFF50;
*((_QWORD *)v4 + 43) = off_100BBFF70;
*((_QWORD *)v4 + 44) = off_100BBFF98;
*((_QWORD *)v4 + 51) = off_100BBFFC8;
*((_QWORD *)v4 + 54) = off_100BC0048;
*((_QWORD *)v4 + 68) = off_100BC0068;
*((_QWORD *)v4 + 83) = off_100BC00B0;
*((_QWORD *)v4 + 93) = 0;
*((_OWORD *)v4 + 45) = 0;
*((_OWORD *)v4 + 44) = 0;
*((_OWORD *)v4 + 43) = 0;
*((_OWORD *)v4 + 42) = 0;
*((_DWORD *)v4 + 184) = 0;
*((_DWORD *)v4 + 188) = -1;
*(_OWORD *)(v4 + 760) = 0;
*((_QWORD *)v4 + 97) = 0;
if ( (unsigned __int8)IDNameBrowserPopup::init(v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}