{"type": "func", "start": 6442518368, "end": 6442518432, "name": "cocos2d::CCString::initWithFormat", "pseudocode": "// \n// cocos2d::CCString::initWithFormat from 0x180010760 to 0x1800107a0 (64 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b81e8\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:22 +0000\n// \n\nbool cocos2d::CCString::initWithFormat(cocos2d::CCString *this, const char *a2, ...)\n{\n  _QWORD *v2; // rax\n  va_list va; // [rsp+40h] [rbp+18h] BYREF\n\n  va_start(va, a2);\n  v2 = (_QWORD *)((char *)this + 56);\n  *((_QWORD *)this + 9) = 0;\n  if ( *((_QWORD *)this + 10) > 0xFu )\n    v2 = (_QWORD *)*v2;\n  *(_BYTE *)v2 = 0;\n  return cocos2d::CCString::initWithFormatAndValist(this, a2, va);\n}", "assembly": "; \n; cocos2d::CCString::initWithFormat from 0x180010760 to 0x1800107a0 (64 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b81e8\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:22 +0000\n; \nmov     [rsp+arg_8], rdx                                               ; +0x0, 0x180010760\nmov     qword ptr [rsp+arg_10], r8                                     ; +0x5, 0x180010765\nmov     [rsp+arg_18], r9                                               ; +0xa, 0x18001076a\nsub     rsp, 28h                                                       ; +0xf, 0x18001076f\nlea     rax, [rcx+38h]                                                 ; +0x13, 0x180010773\nmov     qword ptr [rax+10h], 0                                         ; +0x17, 0x180010777\ncmp     qword ptr [rax+18h], 0Fh                                       ; +0x1f, 0x18001077f\njbe     short loc_180010789                                            ; +0x24, 0x180010784\nmov     rax, [rax]                                                     ; +0x26, 0x180010786\nmov     byte ptr [rax], 0                                              ; +0x29, 0x180010789\nlea     r8, [rsp+28h+arg_10]; char *                                   ; +0x2c, 0x18001078c\nmov     rdx, [rsp+28h+arg_8]; char *                                   ; +0x31, 0x180010791\ncall    ?initWithFormatAndValist@CCString@cocos2d@@AEAA_NPEBDPEAD@Z; cocos2d::CCString::initWithFormatAndValist(char const *,char *) ; +0x36, 0x180010796\nadd     rsp, 28h                                                       ; +0x3b, 0x18001079b\nretn                                                                   ; +0x3f, 0x18001079f", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b81e8"], "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"}