// // CCCounterLabel::create from 0x100512610 to 0x10051271b (267 bytes) // // 1 xrefs: // > GJShopLayer::init @ 0x10030f1f1 // // 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:37 +0000 // _QWORD *__fastcall CCCounterLabel::create(int a1, __int64 a2, int a3) { __int64 v3; // rax _QWORD *v5; // rbx _QWORD v7[6]; // [rsp+0h] [rbp-30h] BYREF v7[0] = v3; v5 = operator new(0x220u); cocos2d::CCLabelBMFont::CCLabelBMFont(v5); *v5 = off_100B6A6E0; v5[40] = off_100B6AB48; v5[45] = off_100B6AB78; v5[46] = off_100B6AB98; *(_QWORD *)((char *)v5 + 516) = 0; *(_QWORD *)((char *)v5 + 521) = 0; *((_DWORD *)v5 + 133) = 10; *((_BYTE *)v5 + 536) = 0; *((_DWORD *)v5 + 135) = 0; sub_1002782D0(v7, &qword_100BE5400); if ( (unsigned __int8)cocos2d::CCLabelBMFont::initWithString(v5, " ", a2, 0, v7, -1.0) ) { *((_DWORD *)v5 + 135) = a3; *((_DWORD *)v5 + 130) = a1; *((_DWORD *)v5 + 131) = a1; CCCounterLabel::updateString(v5); cocos2d::CCObject::autorelease((__int64)v5); } else { (*(void (__fastcall **)(_QWORD *))(*v5 + 16LL))(v5); return nullptr; } return v5; }