// // cocos2d::CCLabelBMFont::createBatched from 0x180047d40 to 0x180047dfa (186 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b1908 // // 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 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCLabelBMFont *__fastcall cocos2d::CCLabelBMFont::createBatched( const char *a1, const char *a2, struct cocos2d::CCArray *a3, int a4) { cocos2d::CCLabelBMFont *v8; // rax cocos2d::CCLabelBMFont *v9; // rbx _DWORD *v10; // rax cocos2d::CCLabelBMFont *v12; // [rsp+60h] [rbp+18h] BYREF v8 = (cocos2d::CCLabelBMFont *)operator new(0x218u); v12 = v8; if ( v8 ) v9 = cocos2d::CCLabelBMFont::CCLabelBMFont(v8); else v9 = nullptr; v9->m_nExtraKerning = a4; v9->m_bIsBatched = 1; v9->m_pTargetArray = a3; v10 = cocos2d::cc_timeval::operator=(&v12, dword_1801A83A8); if ( cocos2d::CCLabelBMFont::initWithString(v9, a1, a2, -1.0, kCCTextAlignmentLeft, (struct cocos2d::CCPoint)v10) ) { cocos2d::CCObject::autorelease(v9); return v9; } else { ((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64))v9->~CCLabelBMFont)(v9, 1); return nullptr; } }