// // GJSmartBlockPreview::addCount from 0x53b870 to 0x53b8e2 (114 bytes) // // 1 xrefs: // > BrowseSmartTemplateLayer::addPrefabMenuItem @ 0x53eae2 // // 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 GJSmartBlockPreview::addCount(GJSmartBlockPreview *a1, int a2) { cocos2d::CCLabelBMFont *m_infoLabel; // r7 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9 cocos2d::CCLabelBMFont *v6; // r6 void (__fastcall *setString)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // r7 cocos2d::CCString *v8; // r0 const char *CString; // r0 cocos2d::CCPoint v10; // [sp+4h] [bp-10h] BYREF GJSmartBlockPreview::createInfoLabel(a1); m_infoLabel = a1->m_infoLabel; setPosition = m_infoLabel->setPosition; cocos2d::CCPoint::CCPoint(&v10, 90.0, 90.0); setPosition(m_infoLabel, &v10); v6 = a1->m_infoLabel; setString = v6->setString; v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a2); CString = cocos2d::CCString::getCString(v8); setString(v6, (const unsigned __int8 *)CString); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_infoLabel, 20.0, 0.6, 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source