//
// SliderThumb::create from 0x1002ee300 to 0x1002ee3f6 (246 bytes)
//
// 0 xrefs:
//
// 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:28:24 +0000
//
char *__fastcall SliderThumb::create(int a1, __int64 a2, __int64 a3, int a4, int a5)
{
char *v7; // rbx
int v8; // r9d
__int128 v10; // [rsp+10h] [rbp-40h]
v7 = (char *)operator new(0x1A8u);
cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v7);
*((_WORD *)v7 + 169) = 0;
*(_OWORD *)(v7 + 344) = 0;
*(_OWORD *)(v7 + 360) = 0;
*(_OWORD *)(v7 + 376) = 0;
*((_QWORD *)v7 + 49) = 0;
*(_QWORD *)v7 = off_100B14250;
*((_QWORD *)v7 + 40) = off_100B146C8;
v7[404] = 0;
_mm_storel_ps((double *)v7 + 51, (__m128)0xBF800000);
*((_DWORD *)v7 + 104) = 0;
*((_DWORD *)v7 + 100) = 1128792064;
*(_QWORD *)&v10 = a2;
*((_QWORD *)&v10 + 1) = a3;
if ( (unsigned __int8)cocos2d::CCMenuItemImage::initWithNormalImage((_DWORD)v7, a4, a5, 0, a1, v8, v10) )
{
cocos2d::CCObject::autorelease(v7);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v7 + 16LL))(v7);
return nullptr;
}
return v7;
}