{"type": "func", "start": 6442517184, "end": 6442517248, "name": "cocos2d::CCString::create", "pseudocode": "// \n// cocos2d::CCString::create from 0x1800102c0 to 0x180010300 (64 bytes)\n// \n// 17 xrefs:\n// > cocos2d::CCDictionary::valueForKey @ 0x18000c4e9\n// > cocos2d::CCDictionary::valueForKey @ 0x18000c5a9\n// > DS_Dictionary::getDictForKey @ 0x18001a1ba\n// > DS_Dictionary::getDictForKey @ 0x18001a24c\n// > DS_Dictionary::getObjectForKey @ 0x18001ac8b\n// > DS_Dictionary::getObjectForKey @ 0x18001ad1b\n// > cocos2d::CCLabelAtlas::initWithString @ 0x180046230\n// > cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0x18006f783\n// > cocos2d::CCGLProgram::logForOpenGLObject @ 0x180086dd9\n// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary @ 0x180091fff\n// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromTexture @ 0x1800925f3\n// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bc68b\n// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bc787\n// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bc879\n// > cocos2d::CCConfiguration::init @ 0x1800bd4bf\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ae0f8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCObject *__fastcall cocos2d::CCString::create(__int64 a1)\n{\n  void *v2; // rax\n  cocos2d::CCObject *v3; // rbx\n\n  v2 = operator new(0x58u);\n  if ( v2 )\n    v3 = (cocos2d::CCObject *)cocos2d::CCString::CCString((__int64)v2, a1);\n  else\n    v3 = nullptr;\n  cocos2d::CCObject::autorelease(v3);\n  return v3;\n}", "assembly": "; \n; cocos2d::CCString::create from 0x1800102c0 to 0x180010300 (64 bytes)\n; \n; 17 xrefs:\n; > cocos2d::CCDictionary::valueForKey @ 0x18000c4e9\n; > cocos2d::CCDictionary::valueForKey @ 0x18000c5a9\n; > DS_Dictionary::getDictForKey @ 0x18001a1ba\n; > DS_Dictionary::getDictForKey @ 0x18001a24c\n; > DS_Dictionary::getObjectForKey @ 0x18001ac8b\n; > DS_Dictionary::getObjectForKey @ 0x18001ad1b\n; > cocos2d::CCLabelAtlas::initWithString @ 0x180046230\n; > cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0x18006f783\n; > cocos2d::CCGLProgram::logForOpenGLObject @ 0x180086dd9\n; > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary @ 0x180091fff\n; > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromTexture @ 0x1800925f3\n; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bc68b\n; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bc787\n; > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bc879\n; > cocos2d::CCConfiguration::init @ 0x1800bd4bf\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ae0f8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1800102c0\nsub     rsp, 20h                                                       ; +0x2, 0x1800102c2\nmov     rbx, rcx                                                       ; +0x6, 0x1800102c6\nmov     ecx, 58h ; 'X'; Size                                           ; +0x9, 0x1800102c9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xe, 0x1800102ce\nmov     [rsp+28h+arg_8], rax                                           ; +0x13, 0x1800102d3\ntest    rax, rax                                                       ; +0x18, 0x1800102d8\njz      short loc_1800102ED                                            ; +0x1b, 0x1800102db\nmov     rdx, rbx                                                       ; +0x1d, 0x1800102dd\nmov     rcx, rax                                                       ; +0x20, 0x1800102e0\ncall    ??0CCString@cocos2d@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCString::CCString(std::string const &) ; +0x23, 0x1800102e3\nmov     rbx, rax                                                       ; +0x28, 0x1800102e8\njmp     short loc_1800102EF                                            ; +0x2b, 0x1800102eb\nxor     ebx, ebx                                                       ; +0x2d, 0x1800102ed\nmov     rcx, rbx; this                                                 ; +0x2f, 0x1800102ef\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x32, 0x1800102f2\nmov     rax, rbx                                                       ; +0x37, 0x1800102f7\nadd     rsp, 20h                                                       ; +0x3a, 0x1800102fa\npop     rbx                                                            ; +0x3e, 0x1800102fe\nretn                                                                   ; +0x3f, 0x1800102ff", "xrefs": ["cocos2d::CCDictionary::valueForKey @ 0x18000c4e9", "cocos2d::CCDictionary::valueForKey @ 0x18000c5a9", "DS_Dictionary::getDictForKey @ 0x18001a1ba", "DS_Dictionary::getDictForKey @ 0x18001a24c", "DS_Dictionary::getObjectForKey @ 0x18001ac8b", "DS_Dictionary::getObjectForKey @ 0x18001ad1b", "cocos2d::CCLabelAtlas::initWithString @ 0x180046230", "cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0x18006f783", "cocos2d::CCGLProgram::logForOpenGLObject @ 0x180086dd9", "cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary @ 0x180091fff", "cocos2d::CCSpriteFrameCache::removeSpriteFramesFromTexture @ 0x1800925f3", "cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bc68b", "cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bc787", "cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800bc879", "cocos2d::CCConfiguration::init @ 0x1800bd4bf", "<???> @ 0x1801438a8", "<???> @ 0x1801ae0f8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}