// // cocos2d::CCLabelTTF::createWithFontDefinition from 0x1003a6c20 to 0x1003a6d3d (285 bytes) // // 0 xrefs: // // 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:29:22 +0000 // char *__fastcall cocos2d::CCLabelTTF::createWithFontDefinition(__int64 a1, __int64 a2) { char *v2; // rbx __int64 v3; // rax __int64 v4; // rax v2 = (char *)operator new(0x2B8u); cocos2d::CCSprite::CCSprite((__int64)v2); *(_QWORD *)v2 = off_100B331E0; *((_QWORD *)v2 + 40) = off_100B336D8; *((_QWORD *)v2 + 43) = off_100B33758; *((_QWORD *)v2 + 75) = &off_100B33788; sub_100278600((_QWORD *)v2 + 76); *((_DWORD *)v2 + 154) = 1; *((_WORD *)v2 + 320) = 0; v2[664] = 0; *(_OWORD *)(v2 + 620) = 0; sub_100278600(v2 + 668); v2[684] = 0; *((_WORD *)v2 + 346) = -1; v2[694] = -1; if ( (unsigned __int8)cocos2d::CCSprite::init((__int64)v2) ) { v3 = cocos2d::CCShaderCache::sharedShaderCache(); v4 = cocos2d::CCShaderCache::programForKey(v3, "ShaderPositionTextureColor"); (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 664LL))(v2, v4); cocos2d::CCLabelTTF::_updateWithTextDefinition(v2, a2, 0); (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 1240LL))(v2, a1); cocos2d::CCObject::autorelease(v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source