// // sub_D14F84 from 0xd14f84 to 0xd15100 (380 bytes) // // 133 xrefs: // > FontObject::parseConfigFile @ 0x56ab28 // > FontObject::parseConfigFile @ 0x56ab70 // > FontObject::parseConfigFile @ 0x56aea8 // > CCAnimateFrameCache::addCustomSpriteFramesWithFile @ 0x573990 // > GameToolbox::stringSetupToDict @ 0x5813f8 // > sub_583398 @ 0x583438 // > GameToolbox::stringSetupToMap @ 0x5847ac // > MultilineBitmapFont::stringWithMaxWidth @ 0x589ac8 // > MultilineBitmapFont::stringWithMaxWidth @ 0x589d4c // > MultilineBitmapFont::readColorInfo @ 0x58a418 // > MultilineBitmapFont::readColorInfo @ 0x58a610 // > MultilineBitmapFont::readColorInfo @ 0x58a660 // > MultilineBitmapFont::readColorInfo @ 0x58a8d4 // > SpriteAnimationManager::createAnimations @ 0x58ed8c // > CCTextInputNode::onTextFieldInsertText @ 0x5a4648 // > sub_5BFAA8 @ 0x5bfb4c // > PlayLayer::prepareCreateObjectsFromSetup @ 0x5d5d78 // > PlayLayer::processCreateObjectsFromSetup @ 0x5dd3ac // > PlayLayer::processCreateObjectsFromSetup @ 0x5dd4a0 // > GameManager::getUnlockForAchievement @ 0x5e9468 // > sub_5EE82C @ 0x5ee8cc // > LevelTools::createStarPackDict @ 0x606074 // > AchievementCell::loadFromDict @ 0x60ddec // > GameObject::loadGroupsFromString @ 0x6473e0 // > sub_66B910 @ 0x66b9b0 // > LevelEditorLayer::createObjectsFromSetup @ 0x670f28 // > LevelEditorLayer::createObjectsFromSetup @ 0x670ff8 // > LevelEditorLayer::createObjectsFromString @ 0x671740 // > LevelEditorLayer::createObjectsFromString @ 0x671900 // > LevelEditorLayer::breakApartTextObject @ 0x67231c // > LevelEditorLayer::init @ 0x67cfd4 // > sub_6B6FCC @ 0x6b706c // > LevelBrowserLayer::setupPageInfo @ 0x6e8f94 // > sub_6F004C @ 0x6f00f4 // > GameLevelManager::getNextLevelName @ 0x6f0950 // > GameLevelManager::getNextLevelName @ 0x6f0a5c // > GameLevelManager::onGetGJSecretRewardCompleted @ 0x6fca78 // > GameLevelManager::onGetGJRewardsCompleted @ 0x6fd448 // > GameLevelManager::onGetGJChallengesCompleted @ 0x6fdfec // > GameLevelManager::onGetGJDailyLevelStateCompleted @ 0x6fee4c // > GameLevelManager::onGetLevelSaveDataCompleted @ 0x70b5c0 // > parseLevelLeaderboardKey @ 0x719cc0 // > GameLevelManager::getGJRewards @ 0x729ea0 // > GameLevelManager::getGJRewards @ 0x729ec4 // > GJLevelList::parseListLevels @ 0x72edd8 // > sub_74769C @ 0x747734 // > sub_752D7C @ 0x752e20 // > EventLinkTrigger::customObjectSetup @ 0x771aa0 // > compareStrings @ 0x78bee0 // > compareStrings @ 0x78bf58 // > AudioEffectsLayer::init @ 0x78efd4 // > sub_7A19E8 @ 0x7a1a90 // > sub_7AEA8C @ 0x7aeb2c // > AchievementBar::init @ 0x7d7a50 // > InfoLayer::setupPageInfo @ 0x7e3880 // > sub_82052C @ 0x8205d4 // > NumberInputLayer::deleteLast @ 0x8240d0 // > sub_827328 @ 0x8273d0 // > sub_830154 @ 0x8301f4 // > sub_844C0C @ 0x844cb4 // > GJAccountManager::onSyncAccountCompleted @ 0x8489e8 // > GJAccountManager::onSyncAccountCompleted @ 0x848ad0 // > GJBaseGameLayer::loadGroupParentsFromString @ 0x860540 // > GJBaseGameLayer::updateLayerCapacity @ 0x86d180 // > GJBaseGameLayer::updateLayerCapacity @ 0x86d42c // > sub_8A7F28 @ 0x8a7fc8 // > GJEffectManager::setupFromString @ 0x8c0770 // > GJRobotSprite::init @ 0x8e386c // > MessagesProfilePage::setupPageInfo @ 0x8f4024 // > FRequestProfilePage::setupPageInfo @ 0x8f6508 // > ProfilePage::setupPageInfo @ 0x8ff4e0 // > sub_900FBC @ 0x901054 // > SecretNumberLayer::playNumberEffect @ 0x941820 // > TopArtistsLayer::setupPageInfo @ 0x9666f0 // > sub_980C40 @ 0x980ce8 // > GJSmartTemplate::getNoCornerKey @ 0x9d0c14 // > cocos2d::extension::WebSocket::init @ 0xaadeec // > cocos2d::extension::WebSocket::init @ 0xaadf68 // > localStorageInit @ 0xaaebe8 // > sub_AD18EC @ 0xad1a04 // > sub_AD18EC @ 0xad1b78 // > sub_AD18EC @ 0xad1c18 // > cocos2d::CCRectFromString @ 0xad2318 // > cocos2d::CCRectFromString @ 0xad2388 // > cocos2d::CCRectFromString @ 0xad23b0 // > cocos2d::CCLabelAtlas::initWithString @ 0xae1d90 // > cocos2d::CCBMFontConfiguration::parseImageFileName @ 0xae31a4 // > cocos2d::CCBMFontConfiguration::parseImageFileName @ 0xae31fc // > cocos2d::CCBMFontConfiguration::parseInfoArguments @ 0xae33b8 // > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0xae3508 // > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0xae357c // > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0xae35fc // > cocos2d::CCBMFontConfiguration::parseCommonArguments @ 0xae367c // > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0xae38d0 // > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0xae3944 // > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0xae39d0 // > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0xae3a5c // > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0xae3ae8 // > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0xae3b74 // > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0xae3c00 // > cocos2d::CCBMFontConfiguration::parseCharacterDefinition @ 0xae3c8c // > cocos2d::CCBMFontConfiguration::parseKerningEntry @ 0xae4004 // > cocos2d::CCBMFontConfiguration::parseKerningEntry @ 0xae4078 // > cocos2d::CCBMFontConfiguration::parseKerningEntry @ 0xae4104 // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0xae4f28 // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0xae4f70 // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0xae4fa4 // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0xae50f4 // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0xae51a0 // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0xae523c // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0xae527c // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0xae5718 // > cocos2d::CCParticleSystem::initWithDictionary @ 0xb008b8 // > cocos2d::CCParticleSystem::initWithDictionary @ 0xb008f0 // > cocos2d::CCParticleSystem::initWithFile @ 0xb01a08 // > cocos2d::CCDictMaker::textHandler @ 0xb04dc4 // > cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0xb050b8 // > cocos2d::CCFileUtils::getPathForFilename @ 0xb05320 // > cocos2d::CCFileUtils::getPathForFilename @ 0xb05368 // > cocos2d::CCImage::initWithString @ 0xb0d500 // > cocos2d::CCImage::initWithStringShadowStroke @ 0xb0d938 // > cocos2d::ZipUtils::urlDecode @ 0xb29b90 // > cocos2d::ZipFile::setFilter @ 0xb2bb64 // > cocos2d::CCTMXMapInfo::textHandler @ 0xb3b860 // > cocos2d::CCTMXMapInfo::startElement @ 0xb3c684 // > cocos2d::CCTMXMapInfo::startElement @ 0xb3cc30 // > DS_Dictionary::split @ 0xb470c4 // > DS_Dictionary::split @ 0xb47140 // > DS_Dictionary::splitWithForm @ 0xb4738c // > DS_Dictionary::rectFromString @ 0xb487ec // > DS_Dictionary::rectFromString @ 0xb48860 // > DS_Dictionary::rectFromString @ 0xb4888c // > sub_D16FB0 @ 0xd16fe4 // // 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 // _QWORD *__fastcall sub_D14F84(_QWORD *result, __int64 *a2, unsigned __int64 a3, unsigned __int64 a4) { __int64 v4; // x21 unsigned __int64 v5; // x4 _QWORD *v7; // x24 unsigned __int64 v8; // x4 _BYTE *v9; // x23 unsigned __int64 v10; // x19 _BYTE *v11; // x19 size_t v12; // x19 __int64 v13; // x20 __int64 *v14; // x22 void *v15; // x3 _QWORD *v16; // x0 v4 = *a2; v5 = *(_QWORD *)(*a2 - 24); v7 = result; if ( a3 > v5 ) sub_D13C5C("%s: __pos (which is %zu) > this->size() (which is %zu)", "basic_string::basic_string", a3, v5); v8 = v5 - a3; v9 = (_BYTE *)(v4 + a3); if ( v8 > a4 ) v10 = a4; else v10 = v8; v11 = (_BYTE *)(v4 + v10 + a3); if ( v9 == v11 ) { *result = &byte_124B6C8; return result; } if ( v11 && !v9 ) sub_D138D8("basic_string::_S_construct null not valid"); v12 = v11 - v9; if ( v12 > 0x3FFFFFFFFFFFFFF9LL ) sub_D13AF4("basic_string::_S_create"); if ( v12 + 57 > 0x1000 && v12 ) { v13 = 0x3FFFFFFFFFFFFFF9LL; if ( v12 + 4096 - (((_WORD)v12 + 57) & 0xFFF) <= 0x3FFFFFFFFFFFFFF9LL ) v13 = v12 + 4096 - (((_WORD)v12 + 57) & 0xFFF); v14 = (__int64 *)operator new(v13 + 25); v15 = v14 + 3; v14[1] = v13; *((_DWORD *)v14 + 4) = 0; } else { v16 = operator new(v12 + 25); v16[1] = v12; *((_DWORD *)v16 + 4) = 0; v14 = v16; v15 = v16 + 3; if ( v12 == 1 ) { result = (_QWORD *)*(unsigned __int8 *)(v4 + a3); *((_BYTE *)v14 + 24) = (_BYTE)result; goto LABEL_16; } } result = memcpy(v15, v9, v12); v15 = result; LABEL_16: if ( v14 != &qword_124B6B0 ) { result = (__int64 *)((char *)v14 + v12); *v14 = v12; *((_BYTE *)v14 + v12 + 24) = 0; } *v7 = v15; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source