{"type": "func", "start": 6442517904, "end": 6442517919, "name": "cocos2d::CCString::getCString", "pseudocode": "// \n// cocos2d::CCString::getCString from 0x180010590 to 0x18001059f (15 bytes)\n// \n// 51 xrefs:\n// > cocos2d::CCNode::description @ 0x18000321a\n// > cocos2d::CCPrettyPrinter::visit @ 0x1800093fc\n// > cocos2d::CCDictionary::charForKey @ 0x180009b10\n// > cocos2d::CCDictionary::randomObject @ 0x18000a98e\n// > cocos2d::CCDictionary::removeObjectsForKeys @ 0x18000b2fd\n// > DS_Dictionary::setArrayForKey @ 0x18001e7fe\n// > DS_Dictionary::setDictForKey @ 0x18001eced\n// > DS_Dictionary::setObjectForKey @ 0x18001f381\n// > cocos2d::CCAction::description @ 0x18002429a\n// > cocos2d::CCLabelAtlas::initWithString @ 0x1800460ac\n// > cocos2d::CCLabelAtlas::initWithString @ 0x180046415\n// > cocos2d::CCBMFontConfiguration::description @ 0x1800486f7\n// > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x18004a3aa\n// > cocos2d::CCLabelTTF::description @ 0x18004e028\n// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800683e2\n// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006876f\n// > cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0x18006f914\n// > sub_18006F980 @ 0x18006fa54\n// > sub_18006FB70 @ 0x18006fbc2\n// > cocos2d::CCFileUtils::getNewFilename @ 0x1800702d4\n// > sub_180071FE0 @ 0x180072188\n// > sub_180071FE0 @ 0x1800721ad\n// > cocos2d::CCEGLView::onGLFWError @ 0x18007771c\n// > sub_180077760 @ 0x18007778b\n// > cocos2d::CCGLProgram::description @ 0x180086979\n// > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x180086b04\n// > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x180086b8f\n// > cocos2d::CCGLProgram::logForOpenGLObject @ 0x180086e40\n// > cocos2d::CCAnimationCache::addAnimationsWithDictionary @ 0x18008a61d\n// > cocos2d::CCAnimationCache::addAnimationsWithDictionary @ 0x18008a633\n// > cocos2d::CCAnimationCache::parseVersion1 @ 0x18008a998\n// > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008ad78\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180090e41\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180090e8b\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180090ed5\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180090f1f\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180091078\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180091109\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180091153\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x1800915b9\n// > cocos2d::CCSpriteFrameCache::removeSpriteFrameByName @ 0x180091af8\n// > cocos2d::CCSpriteFrameCache::removeSpriteFrameByName @ 0x180091b5d\n// > cocos2d::CCSpriteFrameCache::spriteFrameByName @ 0x180092923\n// > cocos2d::CCTexture2D::description @ 0x1800a4efe\n// > cocos2d::CCTextureAtlas::description @ 0x1800a633a\n// > cocos2d::CCTextureCache::description @ 0x1800a92c2\n// > cocos2d::CCTileMapAtlas::setTile @ 0x1800ab4d5\n// > cocos2d::CCTileMapAtlas::updateAtlasValues @ 0x1800ab9e2\n// > cocos2d::CCCamera::description @ 0x1800bc1ce\n// > cocos2d::CCConfiguration::getCString @ 0x1800bd22b\n// > <???> @ 0x1801438a8\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\nstd::string *__fastcall cocos2d::CCString::getCString(cocos2d::CCString *this)\n{\n  std::string *result; // rax\n\n  result = &this->m_sString;\n  if ( this->m_sString.m_data.m_capacity > 0xF )\n    return (std::string *)result->m_data.m_bigStorage;\n  return result;\n}", "assembly": "; \n; cocos2d::CCString::getCString from 0x180010590 to 0x18001059f (15 bytes)\n; \n; 51 xrefs:\n; > cocos2d::CCNode::description @ 0x18000321a\n; > cocos2d::CCPrettyPrinter::visit @ 0x1800093fc\n; > cocos2d::CCDictionary::charForKey @ 0x180009b10\n; > cocos2d::CCDictionary::randomObject @ 0x18000a98e\n; > cocos2d::CCDictionary::removeObjectsForKeys @ 0x18000b2fd\n; > DS_Dictionary::setArrayForKey @ 0x18001e7fe\n; > DS_Dictionary::setDictForKey @ 0x18001eced\n; > DS_Dictionary::setObjectForKey @ 0x18001f381\n; > cocos2d::CCAction::description @ 0x18002429a\n; > cocos2d::CCLabelAtlas::initWithString @ 0x1800460ac\n; > cocos2d::CCLabelAtlas::initWithString @ 0x180046415\n; > cocos2d::CCBMFontConfiguration::description @ 0x1800486f7\n; > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x18004a3aa\n; > cocos2d::CCLabelTTF::description @ 0x18004e028\n; > cocos2d::CCParticleSystem::initWithDictionary @ 0x1800683e2\n; > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006876f\n; > cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0x18006f914\n; > sub_18006F980 @ 0x18006fa54\n; > sub_18006FB70 @ 0x18006fbc2\n; > cocos2d::CCFileUtils::getNewFilename @ 0x1800702d4\n; > sub_180071FE0 @ 0x180072188\n; > sub_180071FE0 @ 0x1800721ad\n; > cocos2d::CCEGLView::onGLFWError @ 0x18007771c\n; > sub_180077760 @ 0x18007778b\n; > cocos2d::CCGLProgram::description @ 0x180086979\n; > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x180086b04\n; > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x180086b8f\n; > cocos2d::CCGLProgram::logForOpenGLObject @ 0x180086e40\n; > cocos2d::CCAnimationCache::addAnimationsWithDictionary @ 0x18008a61d\n; > cocos2d::CCAnimationCache::addAnimationsWithDictionary @ 0x18008a633\n; > cocos2d::CCAnimationCache::parseVersion1 @ 0x18008a998\n; > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008ad78\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180090e41\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180090e8b\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180090ed5\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180090f1f\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180091078\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180091109\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180091153\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x1800915b9\n; > cocos2d::CCSpriteFrameCache::removeSpriteFrameByName @ 0x180091af8\n; > cocos2d::CCSpriteFrameCache::removeSpriteFrameByName @ 0x180091b5d\n; > cocos2d::CCSpriteFrameCache::spriteFrameByName @ 0x180092923\n; > cocos2d::CCTexture2D::description @ 0x1800a4efe\n; > cocos2d::CCTextureAtlas::description @ 0x1800a633a\n; > cocos2d::CCTextureCache::description @ 0x1800a92c2\n; > cocos2d::CCTileMapAtlas::setTile @ 0x1800ab4d5\n; > cocos2d::CCTileMapAtlas::updateAtlasValues @ 0x1800ab9e2\n; > cocos2d::CCCamera::description @ 0x1800bc1ce\n; > cocos2d::CCConfiguration::getCString @ 0x1800bd22b\n; > <???> @ 0x1801438a8\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\ncmp     qword ptr [rcx+50h], 0Fh                                       ; +0x0, 0x180010590\nlea     rax, [rcx+38h]                                                 ; +0x5, 0x180010595\njbe     short locret_18001059E                                         ; +0x9, 0x180010599\nmov     rax, [rax]                                                     ; +0xb, 0x18001059b\nretn                                                                   ; +0xe, 0x18001059e", "xrefs": ["cocos2d::CCNode::description @ 0x18000321a", "cocos2d::CCPrettyPrinter::visit @ 0x1800093fc", "cocos2d::CCDictionary::charForKey @ 0x180009b10", "cocos2d::CCDictionary::randomObject @ 0x18000a98e", "cocos2d::CCDictionary::removeObjectsForKeys @ 0x18000b2fd", "DS_Dictionary::setArrayForKey @ 0x18001e7fe", "DS_Dictionary::setDictForKey @ 0x18001eced", "DS_Dictionary::setObjectForKey @ 0x18001f381", "cocos2d::CCAction::description @ 0x18002429a", "cocos2d::CCLabelAtlas::initWithString @ 0x1800460ac", "cocos2d::CCLabelAtlas::initWithString @ 0x180046415", "cocos2d::CCBMFontConfiguration::description @ 0x1800486f7", "cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x18004a3aa", "cocos2d::CCLabelTTF::description @ 0x18004e028", "cocos2d::CCParticleSystem::initWithDictionary @ 0x1800683e2", "cocos2d::CCParticleSystem::initWithDictionary @ 0x18006876f", "cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0x18006f914", "sub_18006F980 @ 0x18006fa54", "sub_18006FB70 @ 0x18006fbc2", "cocos2d::CCFileUtils::getNewFilename @ 0x1800702d4", "sub_180071FE0 @ 0x180072188", "sub_180071FE0 @ 0x1800721ad", "cocos2d::CCEGLView::onGLFWError @ 0x18007771c", "sub_180077760 @ 0x18007778b", "cocos2d::CCGLProgram::description @ 0x180086979", "cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x180086b04", "cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x180086b8f", "cocos2d::CCGLProgram::logForOpenGLObject @ 0x180086e40", "cocos2d::CCAnimationCache::addAnimationsWithDictionary @ 0x18008a61d", "cocos2d::CCAnimationCache::addAnimationsWithDictionary @ 0x18008a633", "cocos2d::CCAnimationCache::parseVersion1 @ 0x18008a998", "cocos2d::CCAnimationCache::parseVersion2 @ 0x18008ad78", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180090e41", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180090e8b", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180090ed5", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180090f1f", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180091078", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180091109", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180091153", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x1800915b9", "cocos2d::CCSpriteFrameCache::removeSpriteFrameByName @ 0x180091af8", "cocos2d::CCSpriteFrameCache::removeSpriteFrameByName @ 0x180091b5d", "cocos2d::CCSpriteFrameCache::spriteFrameByName @ 0x180092923", "cocos2d::CCTexture2D::description @ 0x1800a4efe", "cocos2d::CCTextureAtlas::description @ 0x1800a633a", "cocos2d::CCTextureCache::description @ 0x1800a92c2", "cocos2d::CCTileMapAtlas::setTile @ 0x1800ab4d5", "cocos2d::CCTileMapAtlas::updateAtlasValues @ 0x1800ab9e2", "cocos2d::CCCamera::description @ 0x1800bc1ce", "cocos2d::CCConfiguration::getCString @ 0x1800bd22b", "<???> @ 0x1801438a8"], "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"}