// // GJSmartBlockPreview::addCount from 0x1004160c0 to 0x100416192 (210 bytes) // // 1 xrefs: // > BrowseSmartTemplateLayer::addPrefabMenuItem @ 0x1004e478b // // 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:30:11 +0000 // __int64 __fastcall GJSmartBlockPreview::addCount(_QWORD *a1) { __int64 v1; // r15 __int64 v2; // rax __int64 v3; // r15 __int64 v4; // rax __int64 CString; // rax char v7; // [rsp+0h] [rbp-30h] float v8[10]; // [rsp+8h] [rbp-28h] BYREF v1 = a1[43]; if ( !v1 ) { v2 = cocos2d::CCLabelBMFont::create_3(" ", "bigFont.fnt"); a1[43] = v2; (*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 456LL))(a1, v2); v1 = a1[43]; } sub_100278250(v8, 90.0, 90.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v1 + 184LL))(v1, v8); v3 = a1[43]; v4 = sub_10088E820("%i", v7); CString = cocos2d::CCString::getCString(v4); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 928LL))(v3, CString); return cocos2d::CCLabelBMFont::limitLabelWidth(a1[43], 20.0, 0.60000002, 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source