// // sub_D18EA8 from 0xd18ea8 to 0xd18f98 (240 bytes) // // 385 xrefs: // > CCAnimatedSprite::tweenToAnimation @ 0x571710 // > CCAnimatedSprite::tweenToAnimation @ 0x57179c // > SpriteDescription::initDescription @ 0x571ebc // > SpriteDescription::initDescription @ 0x572edc // > CCSpritePart::createWithSpriteFrameName @ 0x5773ec // > CCSpritePart::frameChanged @ 0x5776c4 // > CCPartAnimSprite::initWithAnimDesc @ 0x5786f4 // > TableViewCell::TableViewCell @ 0x57d1c0 // > GameToolbox::createHashString @ 0x5819b8 // > GameToolbox::stringSetupToMap @ 0x5847bc // > GameToolbox::stringSetupToMap @ 0x584a10 // > MultilineBitmapFont::stringWithMaxWidth @ 0x589a18 // > MultilineBitmapFont::stringWithMaxWidth @ 0x589c2c // > MultilineBitmapFont::readColorInfo @ 0x58a288 // > MultilineBitmapFont::readColorInfo @ 0x58a2e0 // > MultilineBitmapFont::readColorInfo @ 0x58a468 // > MultilineBitmapFont::readColorInfo @ 0x58a4c0 // > MultilineBitmapFont::readColorInfo @ 0x58a6b0 // > MultilineBitmapFont::readColorInfo @ 0x58a70c // > MultilineBitmapFont::readColorInfo @ 0x58a924 // > SpriteAnimationManager::overridePrio @ 0x58fa80 // > SpriteAnimationManager::queueAnimation @ 0x58fc3c // > SpriteAnimationManager::executeAnimation @ 0x58fdec // > SlideInLayer::init @ 0x593464 // > CCTextInputNode::setAllowedChars @ 0x5a2b4c // > CCTextInputNode::updateLabel @ 0x5a3624 // > FMODAudioEngine::channelLinkSound @ 0x5b1bb4 // > FMODAudioEngine::queuePlayEffect @ 0x5b2484 // > FMODAudioEngine::storeEffect @ 0x5b470c // > FMODAudioEngine::swapMusicIndex @ 0x5b5f78 // > FMODAudioEngine::swapMusicIndex @ 0x5b6040 // > FMODAudioEngine::swapMusicIndex @ 0x5b607c // > FMODAudioEngine::swapMusicIndex @ 0x5b6118 // > FMODAudioEngine::preloadMusic @ 0x5b65d4 // > FMODAudioEngine::preloadMusic @ 0x5b6628 // > FMODAudioEngine::loadAudioState @ 0x5b8510 // > FMODAudioEngine::updateQueuedMusic @ 0x5bb0bc // > FMODAudioEngine::queueStartMusic @ 0x5bb5f0 // > FMODAudioEngine::queueStartMusic @ 0x5bb694 // > AppDelegate::applicationDidFinishLaunching @ 0x5be088 // > CreateGuidelinesLayer::doClearGuidelines @ 0x5bfdd0 // > CreateGuidelinesLayer::recordingDidStop @ 0x5c0300 // > CreateGuidelinesLayer::recordingDidStop @ 0x5c03c4 // > PlayLayer::levelComplete @ 0x5d101c // > PlayLayer::resetLevel @ 0x5e5508 // > PlayLayer::resetLevel @ 0x5e5ab4 // > CCURLObject::init @ 0x5e8728 // > CCURLObject::init @ 0x5e8738 // > TutorialPopup::init @ 0x60068c // > LevelTools::getLevel @ 0x6013b8 // > LevelTools::getLevel @ 0x601430 // > LevelTools::getLevel @ 0x6014a8 // > LevelTools::getLevel @ 0x601550 // > LevelTools::getLevel @ 0x6015bc // > LevelTools::getLevel @ 0x601634 // > LevelTools::getLevel @ 0x6016c0 // > LevelTools::getLevel @ 0x601740 // > LevelTools::getLevel @ 0x60177c // > LevelTools::getLevel @ 0x60182c // > LevelTools::getLevel @ 0x6018a4 // > LevelTools::getLevel @ 0x601908 // > LevelTools::getLevel @ 0x60197c // > LevelTools::getLevel @ 0x6019fc // > LevelTools::getLevel @ 0x601a70 // > LevelTools::getLevel @ 0x601ad4 // > LevelTools::getLevel @ 0x601b4c // > LevelTools::getLevel @ 0x601ba0 // > LevelTools::getLevel @ 0x601c10 // > LevelTools::getLevel @ 0x601c64 // > LevelTools::getLevel @ 0x601cdc // > LevelTools::getLevel @ 0x601d30 // > LevelTools::getLevel @ 0x601da4 // > LevelTools::getLevel @ 0x601df8 // > LevelTools::getLevel @ 0x601e70 // > LevelTools::getLevel @ 0x601ec4 // > LevelTools::getLevel @ 0x601f3c // > LevelTools::getLevel @ 0x601f90 // > LevelTools::getLevel @ 0x602008 // > LevelTools::getLevel @ 0x602044 // > LevelTools::getLevel @ 0x6020bc // > LevelTools::getLevel @ 0x602110 // > LevelTools::getLevel @ 0x602188 // > LevelTools::getLevel @ 0x6021e8 // > LevelTools::getLevel @ 0x602268 // > LevelTools::getLevel @ 0x6022cc // > LevelTools::getLevel @ 0x602344 // > LevelTools::getLevel @ 0x6023a4 // > LevelTools::getLevel @ 0x602424 // > LevelTools::getLevel @ 0x602478 // > LevelTools::getLevel @ 0x602520 // > LevelTools::getLevel @ 0x6025a8 // > LevelTools::getLevel @ 0x602620 // > LevelTools::getLevel @ 0x602690 // > LevelTools::getLevel @ 0x602710 // > LevelTools::getLevel @ 0x602764 // > LevelTools::getLevel @ 0x6027dc // > LevelTools::getLevel @ 0x602830 // > LevelTools::getLevel @ 0x6028d8 // > LevelTools::getLevel @ 0x60292c // > LevelTools::getLevel @ 0x6029a4 // > LevelTools::getLevel @ 0x6029f8 // > LevelTools::getLevel @ 0x602a70 // > LevelTools::getLevel @ 0x602ac4 // > LevelTools::getLevel @ 0x602b3c // > CommentCell::loadFromComment @ 0x617ac4 // > GJScoreCell::loadFromScore @ 0x619ce0 // > GJScoreCell::loadFromScore @ 0x619cec // > GJScoreCell::loadFromScore @ 0x619d1c // > GJScoreCell::loadFromScore @ 0x619d28 // > GJScoreCell::loadFromScore @ 0x619dd8 // > GJScoreCell::loadFromScore @ 0x619de4 // > GJUserCell::loadFromScore @ 0x61ba50 // > GJRequestCell::loadFromScore @ 0x61c734 // > TextGameObject::updateTextObject @ 0x656278 // > LevelSettingsObject::objectFromDict @ 0x6689e4 // > DrawGridLayer::loadTimeMarkers @ 0x66bb90 // > LevelEditorLayer::createObjectsFromSetup @ 0x670eac // > EditorUI::getCreateBtn @ 0x6949d8 // > EditorUI::pasteObjects @ 0x6bf2a4 // > EditorUI::pasteObjects @ 0x6bf2b4 // > EditorUI::createSmartObjectsFromTemplate @ 0x6c20dc // > EditorUI::createSmartObjectsFromTemplate @ 0x6c2598 // > EditLevelLayer::init @ 0x6e142c // > EditLevelLayer::textInputClosed @ 0x6e1d88 // > EditLevelLayer::textInputClosed @ 0x6e1e20 // > EditLevelLayer::textInputClosed @ 0x6e1f08 // > EditLevelLayer::textChanged @ 0x6e2354 // > EditLevelLayer::verifyLevelName @ 0x6e25f8 // > EditLevelLayer::verifyLevelName @ 0x6e2778 // > LevelBrowserLayer::getItemsMatchingSearch @ 0x6e97cc // > LevelBrowserLayer::getItemsMatchingSearch @ 0x6e9954 // > LevelBrowserLayer::getItemsMatchingSearch @ 0x6e9960 // > LevelBrowserLayer::loadPage @ 0x6e9ca0 // > LevelBrowserLayer::loadPage @ 0x6ea250 // > LevelBrowserLayer::onFavorites @ 0x6ecb18 // > LevelBrowserLayer::onSaved @ 0x6ecc6c // > LevelBrowserLayer::shareCommentClosed @ 0x6ecf60 // > LevelBrowserLayer::onClearSearch @ 0x6ed0f0 // > LevelBrowserLayer::setTextPopupClosed @ 0x6ed1fc // > GameLevelManager::getNextLevelName @ 0x6f0a2c // > GameLevelManager::getMainLevel @ 0x6f16fc // > GameLevelManager::getMainLevel @ 0x6f1770 // > GameLevelManager::getMainLevel @ 0x6f17e4 // > GameLevelManager::tryGetUsername @ 0x6f6fec // > GameLevelManager::createNewLevel @ 0x7016a4 // > GameLevelManager::createNewLevel @ 0x70179c // > GJGameLevel::create @ 0x702c3c // > GJGameLevel::create @ 0x702c74 // > GJGameLevel::create @ 0x702ca4 // > GJGameLevel::create @ 0x702d00 // > GJGameLevel::create @ 0x702d80 // > GJGameLevel::create @ 0x702f10 // > GJGameLevel::create @ 0x70310c // > GJGameLevel::create @ 0x70313c // > GameLevelManager::deleteLevel @ 0x706014 // > GameLevelManager::saveLevel @ 0x706c4c // > GameLevelManager::saveLevel @ 0x706d10 // > GameLevelManager::saveLevel @ 0x706d3c // > GameLevelManager::saveLevel @ 0x706fd4 // > GameLevelManager::processOnDownloadLevelCompleted @ 0x707860 // > GJGameLevel::encodeWithCoder @ 0x70902c // > GJGameLevel::getListSnapshot @ 0x709b80 // > GJGameLevel::getListSnapshot @ 0x709bf0 // > GJGameLevel::dataLoaded @ 0x70a0ac // > GJGameLevel::copyLevelInfo @ 0x70ba98 // > GJGameLevel::copyLevelInfo @ 0x70bac8 // > GJGameLevel::copyLevelInfo @ 0x70bb7c // > GJGameLevel::copyLevelInfo @ 0x70bbc0 // > GJGameLevel::copyLevelInfo @ 0x70bbe0 // > GJGameLevel::copyLevelInfo @ 0x70bbec // > GJMapPack::create @ 0x70c75c // > GJMapPack::create @ 0x70c7a4 // > GJUserScore::create @ 0x70ed8c // > GJUserScore::create @ 0x70edbc // > GJUserScore::create @ 0x70ee9c // > GJUserScore::create @ 0x70f590 // > GJUserScore::create @ 0x70f5c0 // > GJUserScore::create @ 0x70f5f0 // > GJUserScore::create @ 0x70f64c // > GJUserScore::create @ 0x70f6bc // > GJUserScore::create @ 0x70f72c // > GJUserScore::create @ 0x70f79c // > GJUserScore::create @ 0x70f89c // > GJUserScore::create @ 0x70f908 // > GJUserScore::create @ 0x70f970 // > GJFriendRequest::create @ 0x712b0c // > GJFriendRequest::create @ 0x712b38 // > GJUserMessage::create @ 0x713ef0 // > GJUserMessage::create @ 0x713f1c // > GJUserMessage::create @ 0x713f48 // > GJUserMessage::create @ 0x713f7c // > GJSearchObject::init @ 0x715260 // > GJSearchObject::init @ 0x715270 // > GJSearchObject::init @ 0x715280 // > GJComment::create @ 0x7170b8 // > GJComment::create @ 0x717110 // > GJHttpResult::init @ 0x718d38 // > GJHttpResult::init @ 0x718d44 // > GJLevelList::showListInfo @ 0x719514 // > GameLevelManager::createNewLevelList @ 0x71ae20 // > GameLevelManager::createNewLevelList @ 0x71af1c // > GameLevelManager::uploadLevel @ 0x71c3f8 // > GameLevelManager::getLevelLeaderboard @ 0x721130 // > GameLevelManager::getLevelLeaderboard @ 0x72119c // > GameLevelManager::uploadLevelList @ 0x72d7f4 // > GJLevelList::parseListLevels @ 0x72ed14 // > GameLevelManager::updateSavedLevelList @ 0x72f034 // > GameLevelManager::updateSavedLevelList @ 0x72f040 // > GameLevelManager::updateSavedLevelList @ 0x72f04c // > GJLevelList::create @ 0x72f1f0 // > GJLevelList::create @ 0x72f258 // > GJLevelList::create @ 0x72f338 // > GJLevelList::getListLevelsArray @ 0x730fac // > GJGameLevel::savePercentage @ 0x7360c0 // > GJGameLevel::saveNewScore @ 0x7393bc // > GJGameLevel::saveNewScore @ 0x739410 // > GJGameLevel::handleStatsConflict @ 0x7397b0 // > CustomSongWidget::onMore @ 0x742e10 // > CustomSongWidget::onMore @ 0x742e28 // > CustomSongWidget::getSongInfoIfUnloaded @ 0x746a58 // > ParticleGameObject::setParticleString @ 0x754a0c // > AnimatedGameObject::playAnimation @ 0x757618 // > LabelGameObject::queueUpdateLabel @ 0x761d70 // > TriggerControlGameObject::updateTriggerControlFrame @ 0x76dcec // > EditorPauseLayer::saveLevel @ 0x78e27c // > EditorPauseLayer::saveLevel @ 0x78e3f0 // > EditorPauseLayer::saveLevel @ 0x78e420 // > GJGarageLayer::textInputClosed @ 0x790e18 // > LevelPage::playStep3 @ 0x79b4e8 // > GJChallengeItem::init @ 0x7ad790 // > GameStatsManager::addSpecialRewardDescription @ 0x7b547c // > GameStatsManager::linkSpecialChestUnlocks @ 0x7bd1b8 // > SongInfoLayer::init @ 0x7def0c // > SongInfoLayer::init @ 0x7def20 // > SongInfoLayer::init @ 0x7def30 // > SongInfoLayer::init @ 0x7def3c // > ShareCommentLayer::updateDescText @ 0x7e6a2c // > ShareCommentLayer::textInputClosed @ 0x7e813c // > LocalLevelManager::updateLevelRevision @ 0x7e9124 // > LocalLevelManager::tryLoadMainLevelString @ 0x7ea464 // > SongInfoObject::copyValues @ 0x82de54 // > SongInfoObject::copyValues @ 0x82de5c // > SongInfoObject::copyValues @ 0x82de68 // > SongInfoObject::copyValues @ 0x82de74 // > SongInfoObject::copyValues @ 0x82de80 // > SongInfoObject::copyValues @ 0x82de8c // > SFXInfoObject::init @ 0x82dfb0 // > MusicArtistObject::init @ 0x82e9fc // > MusicArtistObject::init @ 0x82ea0c // > MusicArtistObject::init @ 0x82ea1c // > SongInfoObject::getArtistNames @ 0x83374c // > SongInfoObject::getArtistNames @ 0x8337e4 // > SongInfoObject::getArtistNames @ 0x83391c // > SongInfoObject::getTagsString @ 0x833fbc // > SongInfoObject::getTagsString @ 0x8340c8 // > SongInfoObject::updateArtists @ 0x834178 // > SongInfoObject::init @ 0x8344cc // > SongInfoObject::init @ 0x8344dc // > SongInfoObject::init @ 0x8344f0 // > SongInfoObject::init @ 0x8344fc // > SongInfoObject::init @ 0x834510 // > SongInfoObject::init @ 0x83451c // > SongInfoObject::create @ 0x8358a0 // > MusicDownloadManager::createSongsInfo @ 0x837530 // > SongInfoObject::createWithCoder @ 0x837a70 // > MusicDownloadManager::parseMusicLibrary @ 0x8388c0 // > MusicDownloadManager::parseMusicLibrary @ 0x838d9c // > GJAccountManager::backupAccount @ 0x846810 // > GJAccountManager::linkToAccount @ 0x847d08 // > GJAccountManager::linkToAccount @ 0x847d14 // > GJAccountManager::linkToAccount @ 0x847d3c // > GJAccountManager::onSyncAccountCompleted @ 0x848d6c // > GJBaseGameLayer::resetRecord @ 0x87b050 // > GJBaseGameLayer::resetRecord @ 0x87b0d0 // > GJBaseGameLayer::createCustomParticle @ 0x87b638 // > GJWriteMessagePopup::closeMessagePopup @ 0x8cf330 // > GJWriteMessagePopup::closeMessagePopup @ 0x8cf360 // > GJWriteMessagePopup::updateText @ 0x8cf6c8 // > GJWriteMessagePopup::updateText @ 0x8cf794 // > GJMessagePopup::onReply @ 0x8d0e84 // > GJMessagePopup::onReply @ 0x8d0f24 // > SetTextPopup::init @ 0x8d39fc // > OptionsObject::init @ 0x8d4b6c // > GJPromoPopup::init @ 0x8d98ac // > GJAccountSettingsLayer::updateScoreValues @ 0x8dd63c // > GJAccountSettingsLayer::updateScoreValues @ 0x8dd718 // > GJAccountSettingsLayer::updateScoreValues @ 0x8dd7f4 // > GJAccountSettingsLayer::updateScoreValues @ 0x8dd8d0 // > GJAccountSettingsLayer::updateScoreValues @ 0x8dd9ac // > GJAccountSettingsLayer::updateScoreValues @ 0x8dda88 // > GJAccountSettingsLayer::updateScoreValues @ 0x8ddb64 // > InfoAlertButton::init @ 0x8e6370 // > InfoAlertButton::init @ 0x8e637c // > MessagesProfilePage::loadPage @ 0x8f2ef4 // > FRequestProfilePage::loadPage @ 0x8f5330 // > DialogObject::init @ 0x916354 // > DialogObject::init @ 0x916364 // > RewardsPage::init @ 0x935930 // > RewardsPage::init @ 0x935a8c // > SecretLayer3::init @ 0x94586c // > SecretLayer3::init @ 0x945a68 // > SecretLayer4::init @ 0x94b008 // > GJWorldNode::playStep3 @ 0x95e610 // > FollowRewardPage::init @ 0x9640d0 // > CommunityCreditNode::init @ 0x970054 // > MapSelectLayer::init @ 0x980a50 // > GJMultiplayerManager::addComment @ 0x981d94 // > GJMultiplayerManager::onJoinLobbyCompleted @ 0x98227c // > GJSmartTemplate::getPrefab @ 0x9d3628 // > GJSmartTemplate::dataLoaded @ 0x9d5878 // > GJSmartTemplate::savePrefab @ 0x9d5c04 // > GJSmartTemplate::savePrefab @ 0x9d5c10 // > GJSmartBlockPreview::init @ 0x9d5ec0 // > GJSmartBlockPreview::addTemplateGuide @ 0x9d6d6c // > GJSmartBlockPreview::addTemplateGuide @ 0x9d6d7c // > GJSmartTemplate::scanForPrefab @ 0x9d8448 // > GJSmartTemplate::scanForPrefab @ 0x9d85d8 // > GJSmartTemplate::scanForPrefab @ 0x9d89e4 // > GJSmartTemplate::scanForPrefab @ 0x9d8a9c // > GJSmartTemplate::scanForPrefab @ 0x9d8aa8 // > GJSmartTemplate::scanForPrefab @ 0x9d8eb4 // > GJSmartTemplate::getTemplateState @ 0x9dabcc // > GJSmartTemplate::getTemplateState @ 0x9dabd8 // > SetupSmartTemplateLayer::textInputClosed @ 0x9dcadc // > BrowseSmartTemplateLayer::init @ 0x9dfbc0 // > BrowseSmartTemplateLayer::init @ 0x9dfbcc // > BrowseSmartKeyLayer::init @ 0x9e0780 // > LevelAreaInnerLayer::playStep1 @ 0xa2d7a4 // > LevelAreaLayer::init @ 0xa2fb10 // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0xa4991c // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0xa49934 // > SelectEventLayer::addToggle @ 0xa54744 // > MusicBrowser::setTextPopupClosed @ 0xa5c354 // > SFXBrowser::setupList @ 0xa5d6cc // > SFXBrowser::setTextPopupClosed @ 0xa5f044 // > SecretRewardsLayer::init @ 0xa62e04 // > SecretRewardsLayer::init @ 0xa63118 // > SecretRewardsLayer::generateChestItems @ 0xa6a480 // > LevelListLayer::shareCommentClosed @ 0xa72810 // > LevelListLayer::textChanged @ 0xa730ac // > LevelListLayer::onRefreshLevelList @ 0xa73478 // > LevelListLayer::textInputClosed @ 0xa745e0 // > LevelListLayer::init @ 0xa75c6c // > LevelListLayer::init @ 0xa7696c // > LevelListLayer::init @ 0xa769c8 // > LevelListLayer::cloneList @ 0xa77cd4 // > LevelListLayer::cloneList @ 0xa77d20 // > LevelListLayer::verifyListName @ 0xa780ac // > LevelListLayer::verifyListName @ 0xa78118 // > LevelListLayer::onBack @ 0xa782ec // > SecretLayer5::onlineRewardStatusFinished @ 0xa9299c // > cocos2d::extension::CCEditBoxImplAndroid::setText @ 0xaaa9f8 // > cocos2d::extension::WebSocket::init @ 0xaadfdc // > cocos2d::extension::WebSocket::init @ 0xaadff0 // > cocos2d::CCString::operator= @ 0xad3620 // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0xae5178 // > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0xae8f5c // > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0xae9014 // > cocos2d::CCMenuItemFont::initWithString @ 0xaf5bac // > cocos2d::CCFileUtils::setSearchPaths @ 0xb06660 // > cocos2d::CCFileUtils::addSearchPath @ 0xb06938 // > cocos2d::CCFileUtils::fullPathForFilename @ 0xb07224 // > cocos2d::CCFileUtils::removeSearchPath @ 0xb099d8 // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0xb1bde8 // > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0xb1be08 // > cocos2d::ZipUtils::urlDecode @ 0xb29e8c // > cocos2d::CCTextFieldTTF::setString @ 0xb30bbc // > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0xb38cdc // > DS_Dictionary::setVec2ForKey @ 0xb44440 // > DS_Dictionary::setRectForKey @ 0xb44b38 // > DS_Dictionary::setVec2ArrayForKey @ 0xb45528 // > DS_Dictionary::setRectArrayForKey @ 0xb45d58 // > fmt::SystemError::init @ 0xb70134 // > sub_CF3EAC @ 0xcf3f38 // > sub_CF3EAC @ 0xcf3f80 // > sub_CF3EAC @ 0xcf3fd4 // > sub_CF4C2C @ 0xcf4cb8 // > sub_CF4C2C @ 0xcf4d00 // > sub_CF4C2C @ 0xcf4d54 // > sub_CF5504 @ 0xcf5590 // > sub_CF5504 @ 0xcf55d8 // > sub_CF5504 @ 0xcf562c // > sub_CF5F4C @ 0xcf5fd8 // > sub_CF5F4C @ 0xcf6020 // > sub_CF5F4C @ 0xcf6074 // // 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 // __int64 *__fastcall sub_D18EA8(__int64 *a1, _QWORD *a2) { __int64 v2; // x2 _DWORD *v4; // x19 int v5; // w3 __int64 *v6; // x0 void *v7; // x0 unsigned int *v9; // x2 int v10; // w1 unsigned int *v11; // x0 unsigned int v12; // w2 char v13; // [xsp+28h] [xbp+28h] BYREF v2 = *a1; v4 = (_DWORD *)*a2; if ( *a1 != *a2 ) { v5 = *(v4 - 2); v6 = (__int64 *)(v4 - 6); if ( v5 < 0 ) { v4 = sub_D18BF4((__int64)v6, (__int64)&v13, 0); v2 = *a1; } else if ( v6 != &qword_124B6B0 ) { if ( &pthread_create ) { v11 = v4 - 2; do v12 = __ldaxr(v11); while ( __stlxr(v12 + 1, v11) ); v2 = *a1; } else { *(v4 - 2) = v5 + 1; } } v7 = (void *)(v2 - 24); if ( (__int64 *)(v2 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v9 = (unsigned int *)(v2 - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); } else { v10 = *(_DWORD *)(v2 - 8); *(_DWORD *)(v2 - 8) = v10 - 1; } if ( v10 <= 0 ) operator delete(v7); } *a1 = (__int64)v4; } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source