// // GJSmartBlockPreview::addCount from 0x100429450 to 0x100429522 (210 bytes) // // 1 xrefs: // > BrowseSmartTemplateLayer::addPrefabMenuItem @ 0x1004e9ccb // // 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 // void __fastcall GJSmartBlockPreview::addCount(GJSmartBlockPreview *a1, int a2) { cocos2d::CCLabelBMFont *m_infoLabel; // r15 cocos2d::CCLabelBMFont *v3; // rax cocos2d::CCLabelBMFont *v4; // r15 cocos2d::CCString *v5; // rax const char *CString; // rax char v7; // [rsp+0h] [rbp-30h] float v8[10]; // [rsp+8h] [rbp-28h] BYREF m_infoLabel = a1->m_infoLabel; if ( !m_infoLabel ) { v3 = cocos2d::CCLabelBMFont::create_3(" ", "bigFont.fnt"); a1->m_infoLabel = v3; ((void (__fastcall *)(GJSmartBlockPreview *, cocos2d::CCLabelBMFont *))a1->addChild)(a1, v3); m_infoLabel = a1->m_infoLabel; } sub_10028CBE0(v8, 90.0, 90.0); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float *))m_infoLabel->setPosition)(m_infoLabel, v8); v4 = a1->m_infoLabel; v5 = (cocos2d::CCString *)sub_1007AB580("%i", v7); CString = cocos2d::CCString::getCString(v5); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))v4->setString)(v4, CString); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_infoLabel, 20.0, 0.60000002, 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source