//
// SearchButton::create from 0x1007073b0 to 0x10070746b (187 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:36:01 +0000
//
char *__fastcall SearchButton::create(__int64 a1, __int64 a2, __int64 a3, float a4, float a5)
{
char *v6; // rbx
v6 = (char *)operator new(0x268u);
__bzero(v6, 616);
cocos2d::CCSprite::CCSprite((__int64)v6);
*(_QWORD *)v6 = off_100B98F90;
*((_QWORD *)v6 + 40) = off_100B99478;
*((_QWORD *)v6 + 43) = off_100B994F8;
*(_OWORD *)(v6 + 600) = 0;
if ( (unsigned __int8)sub_1007097C0(v6, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return v6;
}