// // cocos2d::CCLabelTTF::create from 0x1003bd540 to 0x1003bd64a (266 bytes) // // 2 xrefs: // > cocos2d::CCLabelTTF::create_2 @ 0x1003bd534 // > cocos2d::CCLabelTTF::create_1 @ 0x1003bd6a8 // // 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 // cocos2d::CCLabelTTF *__fastcall cocos2d::CCLabelTTF::create( const char *a1, const char *a2, float a3, const cocos2d::CCSize *a4, cocos2d::CCTextAlignment a5, cocos2d::CCVerticalTextAlignment a6) { char *v8; // rbx v8 = (char *)operator new(0x2B8u); cocos2d::CCSprite::CCSprite((__int64)v8, (__int64)a2); *(_QWORD *)v8 = off_10092AA28; *((_QWORD *)v8 + 40) = off_10092AF10; *((_QWORD *)v8 + 43) = off_10092AF90; *((_QWORD *)v8 + 75) = &off_10092AFC0; sub_10028CF90((_QWORD *)v8 + 76); *((_DWORD *)v8 + 154) = 1; *((_WORD *)v8 + 320) = 0; v8[664] = 0; *(_OWORD *)(v8 + 620) = 0; sub_10028CF90(v8 + 668); v8[684] = 0; *((_WORD *)v8 + 346) = -1; v8[694] = -1; if ( cocos2d::CCLabelTTF::initWithString((cocos2d::CCLabelTTF *)v8, a1, a2, a3, a4, a5, a6) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v8 + 16LL))(v8); return nullptr; } return (cocos2d::CCLabelTTF *)v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source