; ; cocos2d::CCLabelTTF::initWithStringAndTextDefinition from 0x18004e5d0 to 0x18004e65f (143 bytes) ; ; 5 xrefs: ; > cocos2d::CCLabelTTF::createWithFontDefinition @ 0x18004dfa6 ; > @ 0x180137dcc ; > @ 0x180137ddc ; > @ 0x1801438a8 ; > @ 0x1801b1ca4 ; ; 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 ; mov [rsp+arg_8], rbp ; +0x0, 0x18004e5d0 mov [rsp+arg_10], rsi ; +0x5, 0x18004e5d5 push rdi ; +0xa, 0x18004e5da sub rsp, 20h ; +0xb, 0x18004e5db mov rsi, r8 ; +0xf, 0x18004e5df mov rbp, rdx ; +0x12, 0x18004e5e2 mov rdi, rcx ; +0x15, 0x18004e5e5 call ?init@CCSprite@cocos2d@@UEAA_NXZ; cocos2d::CCSprite::init(void) ; +0x18, 0x18004e5e8 test al, al ; +0x1d, 0x18004e5ed jz short loc_18004E64D ; +0x1f, 0x18004e5ef mov [rsp+28h+arg_0], rbx ; +0x21, 0x18004e5f1 mov rbx, [rdi] ; +0x26, 0x18004e5f6 call ?sharedShaderCache@CCShaderCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCShaderCache::sharedShaderCache(void) ; +0x29, 0x18004e5f9 mov rcx, rax; this ; +0x2e, 0x18004e5fe lea rdx, aShaderposition_3; "ShaderPositionTextureColor" ; +0x31, 0x18004e601 call ?programForKey@CCShaderCache@cocos2d@@QEAAPEAVCCGLProgram@2@PEBD@Z; cocos2d::CCShaderCache::programForKey(char const *) ; +0x38, 0x18004e608 mov rdx, rax ; +0x3d, 0x18004e60d mov rcx, rdi ; +0x40, 0x18004e610 call qword ptr [rbx+280h] ; +0x43, 0x18004e613 xor r8d, r8d; bool ; +0x49, 0x18004e619 mov rdx, rsi; Src ; +0x4c, 0x18004e61c mov rcx, rdi; this ; +0x4f, 0x18004e61f call ?_updateWithTextDefinition@CCLabelTTF@cocos2d@@IEAAXAEAU_ccFontDefinition@2@_N@Z; cocos2d::CCLabelTTF::_updateWithTextDefinition(cocos2d::_ccFontDefinition &,bool) ; +0x52, 0x18004e622 lea rcx, [rdi+258h] ; +0x57, 0x18004e627 mov rdx, rbp ; +0x5e, 0x18004e62e mov rax, [rcx] ; +0x61, 0x18004e631 call qword ptr [rax] ; +0x64, 0x18004e634 mov rbx, [rsp+28h+arg_0] ; +0x66, 0x18004e636 mov al, 1 ; +0x6b, 0x18004e63b mov rbp, [rsp+28h+arg_8] ; +0x6d, 0x18004e63d mov rsi, [rsp+28h+arg_10] ; +0x72, 0x18004e642 add rsp, 20h ; +0x77, 0x18004e647 pop rdi ; +0x7b, 0x18004e64b retn ; +0x7c, 0x18004e64c mov rbp, [rsp+28h+arg_8] ; +0x7d, 0x18004e64d xor al, al ; +0x82, 0x18004e652 mov rsi, [rsp+28h+arg_10] ; +0x84, 0x18004e654 add rsp, 20h ; +0x89, 0x18004e659 pop rdi ; +0x8d, 0x18004e65d retn ; +0x8e, 0x18004e65e