//
// PriceLabel::create from 0x1004b86e0 to 0x1004b87eb (267 bytes)
//
// 1 xrefs:
// > BonusDropdown::init @ 0x10048a506
//
// 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:31:01 +0000
//
_OWORD *__fastcall PriceLabel::create(unsigned int a1)
{
char v1; // al
_OWORD *v2; // rbx
__int64 v3; // rax
__int64 CString; // rax
__int64 v5; // rax
double v6; // xmm0_8
char *v7; // rax
__int64 v8; // rax
float v10[8]; // [rsp+0h] [rbp-20h] BYREF
LOBYTE(v10[0]) = v1;
v2 = operator new(0x150u);
cocos2d::CCNode::CCNode((__int64)v2);
*(_QWORD *)v2 = off_100B59B60;
v2[20] = 0;
v3 = sub_10088E820("%i", SLOBYTE(v10[0]));
CString = cocos2d::CCString::getCString(v3);
v5 = cocos2d::CCLabelBMFont::create_3(CString, "goldFont.fnt");
*((_QWORD *)v2 + 40) = v5;
v6 = (*(double (__fastcall **)(_OWORD *, __int64))(*(_QWORD *)v2 + 456LL))(v2, v5);
v7 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"spinItem_coin01_001.png", v6);
*((_QWORD *)v2 + 41) = v7;
(*(void (__fastcall **)(_OWORD *, char *, __int64))(*(_QWORD *)v2 + 464LL))(v2, v7, 20);
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)v2 + 41) + 160LL))(*((_QWORD *)v2 + 41), 0.40000001);
v8 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v2 + 40) + 328LL))(*((_QWORD *)v2 + 40));
sub_100278260(v10, 0.0, *(float *)(v8 + 4));
(*(void (__fastcall **)(_OWORD *, float *))(*(_QWORD *)v2 + 320LL))(v2, v10);
PriceLabel::setPrice(v2, a1);
cocos2d::CCObject::autorelease((__int64)v2);
return v2;
}