// // PriceLabel::init from 0x1004bf900 to 0x1004bf9d3 (211 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall PriceLabel::init(PriceLabel *a1, int a2) { char v2; // al cocos2d::CCString *v4; // rax const char *CString; // rax cocos2d::CCLabelBMFont *v6; // rax cocos2d::CCSprite *v7; // rax __int64 v8; // rax float v10[8]; // [rsp+0h] [rbp-20h] BYREF v4 = (cocos2d::CCString *)sub_1007AB580("%i", v2); CString = cocos2d::CCString::getCString(v4); v6 = cocos2d::CCLabelBMFont::create_3(CString, "goldFont.fnt"); a1->m_priceLabel = v6; ((void (__fastcall *)(PriceLabel *, cocos2d::CCLabelBMFont *))a1->addChild)(a1, v6); v7 = cocos2d::CCSprite::createWithSpriteFrameName("spinItem_coin01_001.png"); a1->m_coinSprite = v7; ((void (__fastcall *)(PriceLabel *, cocos2d::CCSprite *, __int64))a1->addChild_0)(a1, v7, 20); ((void (__fastcall *)(cocos2d::CCSprite *, float))a1->m_coinSprite->setScale)(a1->m_coinSprite, 0.40000001); v8 = ((__int64 (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_priceLabel->getContentSize)(a1->m_priceLabel); sub_10028CBF0(v10, 0.0, *(float *)(v8 + 4)); ((void (__fastcall *)(PriceLabel *, float *))a1->setContentSize)(a1, v10); PriceLabel::setPrice(a1, a2); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source