//
// PriceLabel::init from 0x1004b8800 to 0x1004b88d3 (211 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:31:01 +0000
//
char __fastcall PriceLabel::init(_QWORD *a1, unsigned int a2)
{
char v2; // al
__int64 v4; // rax
__int64 CString; // rax
__int64 v6; // rax
double v7; // xmm0_8
char *v8; // rax
__int64 v9; // rax
float v11[8]; // [rsp+0h] [rbp-20h] BYREF
v4 = sub_10088E820("%i", v2);
CString = cocos2d::CCString::getCString(v4);
v6 = cocos2d::CCLabelBMFont::create_3(CString, "goldFont.fnt");
a1[40] = v6;
v7 = (*(double (__fastcall **)(_QWORD *, __int64))(*a1 + 456LL))(a1, v6);
v8 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"spinItem_coin01_001.png", v7);
a1[41] = v8;
(*(void (__fastcall **)(_QWORD *, char *, __int64))(*a1 + 464LL))(a1, v8, 20);
(*(void (__fastcall **)(_QWORD, float))(*(_QWORD *)a1[41] + 160LL))(a1[41], 0.40000001);
v9 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[40] + 328LL))(a1[40]);
sub_100278260(v11, 0.0, *(float *)(v9 + 4));
(*(void (__fastcall **)(_QWORD *, float *))(*a1 + 320LL))(a1, v11);
PriceLabel::setPrice(a1, a2);
return 1;
}