{"type": "func", "start": 6442745424, "end": 6442745543, "name": "cocos2d::CCLabelAtlas::initWithString", "pseudocode": "// \n// cocos2d::CCLabelAtlas::initWithString from 0x180047e50 to 0x180047ec7 (119 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bb9d4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:41 +0000\n// \n\nchar __fastcall cocos2d::CCLabelAtlas::initWithString(\n        cocos2d::CCLabelAtlas *this,\n        const char *Str,\n        struct cocos2d::CCTexture2D *a3,\n        int a4,\n        unsigned int a5,\n        unsigned int a6)\n{\n  unsigned int v10; // eax\n\n  v10 = strlen(Str);\n  if ( !cocos2d::CCAtlasNode::initWithTexture(this, a3, a4, a5, v10) )\n    return 0;\n  *((_DWORD *)this + 112) = a6;\n  (**((void (__fastcall ***)(char *, const char *))this + 51))((char *)this + 408, Str);\n  return 1;\n}", "assembly": "; \n; cocos2d::CCLabelAtlas::initWithString from 0x180047e50 to 0x180047ec7 (119 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bb9d4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:41 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180047e50\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180047e55\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180047e5a\npush    rdi                                                            ; +0xf, 0x180047e5f\nsub     rsp, 30h                                                       ; +0x10, 0x180047e60\nmov     rsi, rcx                                                       ; +0x14, 0x180047e64\nmov     ebx, r9d                                                       ; +0x17, 0x180047e67\nmov     rcx, rdx; Str                                                  ; +0x1a, 0x180047e6a\nmov     rdi, r8                                                        ; +0x1d, 0x180047e6d\nmov     rbp, rdx                                                       ; +0x20, 0x180047e70\ncall    strlen                                                         ; +0x23, 0x180047e73\nmov     r9d, [rsp+38h+arg_20]; unsigned int                            ; +0x28, 0x180047e78\nmov     r8d, ebx; unsigned int                                         ; +0x2d, 0x180047e7d\nmov     rdx, rdi; struct cocos2d::CCTexture2D *                        ; +0x30, 0x180047e80\nmov     [rsp+38h+var_18], eax; unsigned int                            ; +0x33, 0x180047e83\nmov     rcx, rsi; this                                                 ; +0x37, 0x180047e87\ncall    ?initWithTexture@CCAtlasNode@cocos2d@@QEAA_NPEAVCCTexture2D@2@III@Z; cocos2d::CCAtlasNode::initWithTexture(cocos2d::CCTexture2D *,uint,uint,uint) ; +0x3a, 0x180047e8a\ntest    al, al                                                         ; +0x3f, 0x180047e8f\njz      short loc_180047EB0                                            ; +0x41, 0x180047e91\nmov     eax, [rsp+38h+arg_28]                                          ; +0x43, 0x180047e93\nlea     rcx, [rsi+198h]                                                ; +0x47, 0x180047e97\nmov     [rsi+1C0h], eax                                                ; +0x4e, 0x180047e9e\nmov     rdx, rbp                                                       ; +0x54, 0x180047ea4\nmov     rax, [rcx]                                                     ; +0x57, 0x180047ea7\ncall    qword ptr [rax]                                                ; +0x5a, 0x180047eaa\nmov     al, 1                                                          ; +0x5c, 0x180047eac\njmp     short loc_180047EB2                                            ; +0x5e, 0x180047eae\nxor     al, al                                                         ; +0x60, 0x180047eb0\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x62, 0x180047eb2\nmov     rbp, [rsp+38h+arg_8]                                           ; +0x67, 0x180047eb7\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x6c, 0x180047ebc\nadd     rsp, 30h                                                       ; +0x71, 0x180047ec1\npop     rdi                                                            ; +0x75, 0x180047ec5\nretn                                                                   ; +0x76, 0x180047ec6", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bb9d4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}