// // GJWriteMessagePopup::init from 0x8cfb8c to 0x8d0bdc (4176 bytes) // // 2 xrefs: // > GJWriteMessagePopup::create @ 0x8d0d2c // > @ 0x38f88 // // 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 // bool GJWriteMessagePopup::init(GJWriteMessagePopup *a1, int a2, int a3) { char v6; // w24 GameLevelManager *v8; // x0 cocos2d::CCDirector *v9; // x0 cocos2d::CCLayer *v10; // x0 cocos2d::CCNode *v11; // x20 void (__fastcall *setContentSize)(cocos2d::CCNode *__hidden, const cocos2d::CCSize *); // x25 cocos2d::CCLabelBMFont *v13; // x25 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x20 GameLevelManager *v15; // x0 cocos2d::CCLabelBMFont *v16; // x23 void (__fastcall *v17)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x28 __int64 v18; // x27 cocos2d::CCMenu *v19; // x0 cocos2d::CCLayer *m_mainLayer; // x3 cocos2d::CCArray *v21; // x0 const char *v22; // x6 cocos2d::CCArray *v23; // x23 char *v24; // x0 cocos2d::CCNode *v25; // x0 CCMenuItemSpriteExtra *v26; // x27 const char *v27; // x6 cocos2d::CCNode *v28; // x0 CCMenuItemSpriteExtra *v29; // x26 cocos2d::CCMenu *m_buttonMenu; // x26 float x; // s11 float v32; // s8 const cocos2d::CCPoint *v33; // x0 cocos2d::CCNode *v34; // x23 int (__fastcall *getTag)(const cocos2d::CCObject *__hidden); // x2 CCTextInputNode *v36; // x0 cocos2d::CCLayer *v37; // x3 CCTextInputNode *m_subjectInput; // x0 CCTextInputNode *v39; // x28 void *v40; // x0 CCTextInputNode *v41; // x0 cocos2d::CCTextFieldTTF *m_textField; // x2 TextArea *v43; // x27 void *v44; // x0 cocos2d::CCString *v45; // x0 cocos2d::CCLabelBMFont *v46; // x0 cocos2d::CCLayer *v47; // x3 cocos2d::CCLabelBMFont *m_subjectCountLabel; // x27 cocos2d::CCLabelBMFont *v49; // x27 void *v50; // x0 cocos2d::CCNode *v51; // x25 int (__fastcall *v52)(const cocos2d::CCObject *__hidden); // x2 CCTextInputNode *v53; // x0 cocos2d::CCLayer *v54; // x3 CCTextInputNode *m_messageInput; // x26 void *v56; // x0 CCTextInputNode *v57; // x0 cocos2d::CCTextFieldTTF *v58; // x2 CCTextInputNode *v59; // x25 void (__fastcall *v60)(cocos2d::CCNode *__hidden, const cocos2d::CCSize *); // x26 TextArea *v61; // x25 void *v62; // x0 cocos2d::CCString *v63; // x0 cocos2d::CCLabelBMFont *v64; // x0 cocos2d::CCLayer *v65; // x3 cocos2d::CCLabelBMFont *m_messageCountLabel; // x25 void (__fastcall *v67)(cocos2d::CCLabelBMFont *__hidden, const cocos2d::CCPoint *); // x26 char *v68; // x0 cocos2d::CCSprite *v69; // x0 CCMenuItemSpriteExtra *v70; // x25 cocos2d::CCMenu *v71; // x27 void (__fastcall *v72)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x26 CCTextInputNode *v73; // x25 void *v74; // x0 CCTextInputNode *v75; // x19 void *v76; // x0 cocos2d::CCArray **p_m_smartTemplates; // x0 cocos2d::CCArray **p_m_pTargetArray; // x0 unsigned int *p_m_nExtraKerning; // x19 int m_nExtraKerning; // w1 unsigned int *p_m_testedNetwork; // x1 int v82; // w2 unsigned int *v83; // x1 int v84; // w2 unsigned int *v85; // x1 int v86; // w2 unsigned int *v87; // x1 int v88; // w2 unsigned int *v89; // x1 int v90; // w2 unsigned int *v91; // x1 int v92; // w2 unsigned int *v93; // x1 int v94; // w2 unsigned int *v95; // x1 int v96; // w2 unsigned int *v97; // x1 int v98; // w2 __int64 v99; // [xsp+0h] [xbp+0h] BYREF void (__fastcall *setAnchorPoint)(cocos2d::CCLabelBMFont *, cocos2d::CCRect *); // [xsp+88h] [xbp+88h] TextInputDelegate *v101; // [xsp+90h] [xbp+90h] GJUserMessage *StoredUserMessageReply; // [xsp+98h] [xbp+98h] float v103; // [xsp+B0h] [xbp+B0h] float v104; // [xsp+B4h] [xbp+B4h] cocos2d::CCPoint v105; // [xsp+B8h] [xbp+B8h] BYREF cocos2d::CCLabelBMFont *v106; // [xsp+C0h] [xbp+C0h] BYREF GameLevelManager *v107; // [xsp+C8h] [xbp+C8h] BYREF cocos2d::CCPoint v108; // [xsp+D0h] [xbp+D0h] BYREF cocos2d::CCSize v109; // [xsp+D8h] [xbp+D8h] BYREF __int64 v110; // [xsp+E0h] [xbp+E0h] BYREF __int64 v111; // [xsp+E8h] [xbp+E8h] BYREF __int64 v112; // [xsp+F0h] [xbp+F0h] BYREF cocos2d::CCPoint v113; // [xsp+F8h] [xbp+F8h] BYREF cocos2d::CCSize v114; // [xsp+100h] [xbp+100h] BYREF __int64 v115; // [xsp+108h] [xbp+108h] BYREF __int64 v116; // [xsp+110h] [xbp+110h] BYREF char *v117; // [xsp+118h] [xbp+118h] BYREF cocos2d::CCPoint v118; // [xsp+120h] [xbp+120h] BYREF cocos2d::CCRect v119; // [xsp+128h] [xbp+128h] BYREF cocos2d::CCRect v120; // [xsp+138h] [xbp+138h] BYREF cocos2d::CCPoint v121; // 0:kr10_8.8 cocos2d::SEL_MenuHandler v122; // 0:x2.16 cocos2d::SEL_MenuHandler v123; // 0:x2.16 cocos2d::SEL_MenuHandler v124; // 0:x2.16 cocos2d::CCPoint v125; // 0:s1.4,4:s2.4 cocos2d::CCRect v126; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4 cocos2d::CCRect v127; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4 cocos2d::CCRect v128; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4 v120.origin.x = -1.034e-25; v6 = cocos2d::CCLayerColor::initWithColor(a1, (const cocos2d::_ccColor4B *)&v120); if ( v6 ) { StoredUserMessageReply = nullptr; FLAlertLayer::incrementForcePrio(a1); a1->setTouchEnabled(a1, 1); a1->setKeypadEnabled(a1, 1); a1->m_messageID = a2; a1->m_accountID = a3; if ( a3 > 0 ) { v8 = GameLevelManager::sharedState(); StoredUserMessageReply = GameLevelManager::getStoredUserMessageReply(v8, a1->m_accountID); } v9 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v9); v10 = cocos2d::CCLayer::create(); a1->m_mainLayer = v10; a1->addChild(a1, v10); cocos2d::CCRect::CCRect(&v120, 0.0, 0.0, 80.0, 80.0); v11 = (cocos2d::CCNode *)cocos2d::extension::CCScale9Sprite::create( (cocos2d::extension::CCScale9Sprite *)"GJ_square02.png", (const char *)&v120, v126); ((void (__fastcall *)(cocos2d::CCNode *, __int64))v11->__vftable[1].~CCNode_0)(v11, 0xFFFFFFFFLL); setContentSize = v11->setContentSize; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v120, 420.0, 240.0); setContentSize(v11, (const cocos2d::CCSize *)&v120); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v11, -1); v101 = (TextInputDelegate *)&v105; cocos2d::CCPoint::CCPoint(&v105, v103 * 0.5, v104 * 0.5); v11->setPosition(v11, (const cocos2d::CCPoint *)v101); v13 = cocos2d::CCLabelBMFont::create(); setPosition = v13->setPosition; cocos2d::CCPoint::CCPoint(&v120.origin, v103 * 0.5, (float)((float)(v104 * 0.5) + 120.0) - 16.0); setPosition(v13, &v120.origin); a1->m_mainLayer->addChild(a1->m_mainLayer, v13); v13->setScale(v13, 0.6); sub_D153B8((unsigned int)&v99 + 192, "To: "); v15 = GameLevelManager::sharedState(); GameLevelManager::tryGetUsername(&v107, v15, a1->m_messageID); sub_D15E14(&v106, &v107); v16 = cocos2d::CCLabelBMFont::create(); v17 = v16->setPosition; v18 = (__int64)v13->getPosition(v13); cocos2d::CCPoint::CCPoint(&v119.origin, 0.0, -20.0); cocos2d::CCPoint::operator+(&v120, v18, &v119); v17(v16, &v120.origin); a1->m_mainLayer->addChild(a1->m_mainLayer, v16); v16->setScale(v16, 0.6); a1->m_joystickConnected = -1; v19 = cocos2d::CCMenu::create(); m_mainLayer = a1->m_mainLayer; a1->m_buttonMenu = v19; v21 = (cocos2d::CCArray *)((__int64 (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCMenu *, __int64))m_mainLayer->addChild_0)( m_mainLayer, v19, 10); v23 = (cocos2d::CCArray *)cocos2d::CCArray::create(v21); if ( a1->m_accountID ) v24 = "Back"; else v24 = "Cancel"; v25 = (cocos2d::CCNode *)ButtonSprite::create( (ButtonSprite *)v24, (const char *)&dword_40 + 1, 0, 1, 0.55, "bigFont.fnt", "GJ_button_05.png", v22, 26.0); v122.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1; v122.adj = (size_t)GJWriteMessagePopup::onClose; v26 = CCMenuItemSpriteExtra::create(v25, nullptr, v122); a1->m_buttonMenu->addChild(a1->m_buttonMenu, v26); cocos2d::CCArray::addObject(v23, v26); v28 = (cocos2d::CCNode *)ButtonSprite::create( (ButtonSprite *)"Send", (const char *)&dword_40 + 1, 0, 1, 0.55, "bigFont.fnt", "GJ_button_01.png", v27, 26.0); v123.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1; v123.adj = (size_t)GJWriteMessagePopup::onSend; v29 = CCMenuItemSpriteExtra::create(v28, nullptr, v123); a1->m_buttonMenu->addChild(a1->m_buttonMenu, v29); cocos2d::CCArray::addObject(v23, v29); m_buttonMenu = a1->m_buttonMenu; x = v105.x; v32 = (float)(v105.y - 120.0) + 22.0; v33 = a1->m_mainLayer->getPosition(a1->m_mainLayer); cocos2d::CCPoint::CCPoint(&v119.origin, x, v32 + v33->y); LODWORD(v125.x) = COERCE_UNSIGNED_INT(cocos2d::CCNode::convertToNodeSpace(m_buttonMenu, &v119.origin).y); GameToolbox::alignItemsHorisontally(v23, 15.0, v125, (bool)&v120); cocos2d::CCRect::CCRect(&v119, 0.0, 0.0, 80.0, 80.0); cocos2d::CCPoint::CCPoint(&v108, v105.x, v105.y + 53.0); cocos2d::CCRect::CCRect(&v120, 0.0, 0.0, 40.0, 40.0); v34 = (cocos2d::CCNode *)cocos2d::extension::CCScale9Sprite::create( (cocos2d::extension::CCScale9Sprite *)"square02_small.png", (const char *)&v120, v127); ((void (__fastcall *)(cocos2d::CCNode *, __int64))v34->__vftable[1].~CCNode_0)(v34, 100); ((void (__fastcall *)(cocos2d::CCNode *, void *))v34->__vftable[1].getTag)(v34, &unk_EEDED0); cocos2d::CCSize::CCSize(&v109, 370.0, 28.0); v34->setContentSize(v34, &v109); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v34, 1); v34->setPosition(v34, &v108); getTag = v34->__vftable[1].getTag; LOWORD(v120.origin.x) = 0; BYTE2(v120.origin.x) = 0; ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCRect *))getTag)(v34, &v120); v36 = CCTextInputNode::create(370.0, 50.0, "Subject", "Thonburi"); v37 = a1->m_mainLayer; a1->m_subjectInput = v36; v36->m_filterSwearWords = 0; v37->addChild_0(v37, v36, 20); m_subjectInput = a1->m_subjectInput; v101 = &a1->TextInputDelegate; m_subjectInput->m_delegate = &a1->TextInputDelegate; a1->m_subjectInput->setPosition(a1->m_subjectInput, &v108); v39 = a1->m_subjectInput; sub_D153B8( (int)&v110, " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,-!?:;)(/\\\"'`*=+-_%[]<>|@&^#{}%$~"); CCTextInputNode::setAllowedChars((__int64)v39, (__int64)&v110); v40 = (void *)(v110 - 24); if ( (__int64 *)(v110 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v89 = (unsigned int *)(v110 - 8); do v90 = __ldaxr(v89); while ( __stlxr(v90 - 1, v89) ); } else { v90 = *(_DWORD *)(v110 - 8); *(_DWORD *)(v110 - 8) = v90 - 1; } if ( v90 <= 0 ) operator delete(v40); } v41 = a1->m_subjectInput; m_textField = v41->m_textField; v41->m_maxLabelLength = 35; m_textField->setVisible(m_textField, 0); a1->m_subjectInput->setTag(a1->m_subjectInput, 0); sub_D153B8((int)&v111, &byte_F288A0); cocos2d::CCPoint::CCPoint(&v120.origin, 0.5, 0.5); v43 = (TextArea *)TextArea::create((__int64)&v111, "chatFont.fnt", &v120.origin, 1, 1.0, 305.0, 20.0); v44 = (void *)(v111 - 24); if ( (__int64 *)(v111 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v85 = (unsigned int *)(v111 - 8); do v86 = __ldaxr(v85); while ( __stlxr(v86 - 1, v85) ); } else { v86 = *(_DWORD *)(v111 - 8); *(_DWORD *)(v111 - 8) = v86 - 1; } if ( v86 <= 0 ) operator delete(v44); } CCTextInputNode::addTextArea(a1->m_subjectInput, v43); v45 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)&qword_C8); cocos2d::CCString::getCString(v45); v46 = cocos2d::CCLabelBMFont::create(); v47 = a1->m_mainLayer; a1->m_subjectCountLabel = v46; v47->addChild_0(v47, v46, 2); m_subjectCountLabel = a1->m_subjectCountLabel; setAnchorPoint = (void (__fastcall *)(cocos2d::CCLabelBMFont *, cocos2d::CCRect *))m_subjectCountLabel->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v120.origin, 1.0, 0.5); setAnchorPoint(m_subjectCountLabel, &v120); v49 = a1->m_subjectCountLabel; setAnchorPoint = (void (__fastcall *)(cocos2d::CCLabelBMFont *, cocos2d::CCRect *))v49->setPosition; cocos2d::CCPoint::CCPoint(&v118, 175.0, 0.0); cocos2d::CCPoint::operator+(&v120, &v108, &v118); setAnchorPoint(v49, &v120); sub_D153B8((int)&v112, &byte_F288A0); GJWriteMessagePopup::updateSubject(a1); v50 = (void *)(v112 - 24); if ( (__int64 *)(v112 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v93 = (unsigned int *)(v112 - 8); do v94 = __ldaxr(v93); while ( __stlxr(v94 - 1, v93) ); } else { v94 = *(_DWORD *)(v112 - 8); *(_DWORD *)(v112 - 8) = v94 - 1; } if ( v94 <= 0 ) operator delete(v50); } cocos2d::CCPoint::CCPoint(&v113, v105.x, v105.y - 25.0); cocos2d::CCRect::CCRect(&v120, &v119); v51 = (cocos2d::CCNode *)cocos2d::extension::CCScale9Sprite::create( (cocos2d::extension::CCScale9Sprite *)"square02b_001.png", (const char *)&v120, v128); ((void (__fastcall *)(cocos2d::CCNode *, __int64))v51->__vftable[1].~CCNode_0)(v51, 100); cocos2d::CCSize::CCSize(&v114, 370.0, 106.0); v51->setContentSize(v51, &v114); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v51, 1); v51->setPosition(v51, &v113); v52 = v51->__vftable[1].getTag; LOWORD(v120.origin.x) = 0; BYTE2(v120.origin.x) = 0; ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCRect *))v52)(v51, &v120); v53 = CCTextInputNode::create(370.0, 50.0, "Message", "Thonburi"); v54 = a1->m_mainLayer; a1->m_messageInput = v53; v53->m_filterSwearWords = 0; v54->addChild_0(v54, v53, 20); a1->m_messageInput->m_delegate = v101; a1->m_messageInput->setPosition(a1->m_messageInput, &v113); m_messageInput = a1->m_messageInput; sub_D153B8( (int)&v115, " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,-!?:;)(/\\\"'`*=+-_%[]<>|@&^#{}%$~"); CCTextInputNode::setAllowedChars((__int64)m_messageInput, (__int64)&v115); v56 = (void *)(v115 - 24); if ( (__int64 *)(v115 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v87 = (unsigned int *)(v115 - 8); do v88 = __ldaxr(v87); while ( __stlxr(v88 - 1, v87) ); } else { v88 = *(_DWORD *)(v115 - 8); *(_DWORD *)(v115 - 8) = v88 - 1; } if ( v88 <= 0 ) operator delete(v56); } v57 = a1->m_messageInput; v58 = v57->m_textField; v57->m_maxLabelLength = 200; v58->setVisible(v58, 0); a1->m_messageInput->setTag(a1->m_messageInput, 1); v59 = a1->m_messageInput; v60 = v59->setContentSize; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v120, 370.0, 96.0); v60(v59, (const cocos2d::CCSize *)&v120); a1->m_messageInput->m_forceOffset = 1; sub_D153B8((int)&v116, &byte_F288A0); cocos2d::CCPoint::CCPoint(&v120.origin, 0.5, 0.5); v61 = (TextArea *)TextArea::create((__int64)&v116, "chatFont.fnt", &v120.origin, 1, 1.0, 305.0, 20.0); v62 = (void *)(v116 - 24); if ( (__int64 *)(v116 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v91 = (unsigned int *)(v116 - 8); do v92 = __ldaxr(v91); while ( __stlxr(v92 - 1, v91) ); } else { v92 = *(_DWORD *)(v116 - 8); *(_DWORD *)(v116 - 8) = v92 - 1; } if ( v92 <= 0 ) operator delete(v62); } CCTextInputNode::addTextArea(a1->m_messageInput, v61); v63 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)&qword_C8); cocos2d::CCString::getCString(v63); v64 = cocos2d::CCLabelBMFont::create(); v65 = a1->m_mainLayer; a1->m_messageCountLabel = v64; v65->addChild_0(v65, v64, 2); m_messageCountLabel = a1->m_messageCountLabel; v67 = m_messageCountLabel->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v120.origin, 1.0, 0.5); v67(m_messageCountLabel, &v120.origin); a1->m_messageCountLabel->setPosition_0( a1->m_messageCountLabel, (float)(v105.x + 210.0) - 10.0, (float)(v105.y + 120.0) - 14.0); sub_D153B8((int)&v117, &byte_F288A0); GJWriteMessagePopup::updateBody(a1); v68 = v117 - 24; if ( v117 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v83 = (unsigned int *)(v117 - 8); do v84 = __ldaxr(v83); while ( __stlxr(v84 - 1, v83) ); } else { v84 = *((_DWORD *)v117 - 2); *((_DWORD *)v117 - 2) = v84 - 1; } if ( v84 <= 0 ) operator delete(v68); } v69 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_resetBtn_001.png"); v124.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1; v124.adj = (size_t)GJWriteMessagePopup::onClearBody; v70 = CCMenuItemSpriteExtra::create(v69, nullptr, v124); a1->m_buttonMenu->addChild(a1->m_buttonMenu, v70); v71 = a1->m_buttonMenu; v72 = v70->setPosition; cocos2d::CCPoint::CCPoint( &v118, (float)((float)(v103 * 0.5) + 210.0) - 18.0, (float)((float)(v104 * 0.5) + -120.0) + 20.0); v121 = cocos2d::CCNode::convertToNodeSpace(v71, &v118); ((void (__fastcall *)(CCMenuItemSpriteExtra *, cocos2d::CCRect *, float, float))v72)(v70, &v120, v121.x, v121.y); if ( StoredUserMessageReply ) { v73 = a1->m_subjectInput; sub_D18D28(&v118); CCTextInputNode::setString(v73, (const unsigned __int8 **)&v118); v74 = (void *)(*(_QWORD *)&v118 - 24LL); if ( (__int64 *)(*(_QWORD *)&v118 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v95 = (unsigned int *)(*(_QWORD *)&v118 - 8LL); do v96 = __ldaxr(v95); while ( __stlxr(v96 - 1, v95) ); } else { v96 = *(_DWORD *)(*(_QWORD *)&v118 - 8LL); *(_DWORD *)(*(_QWORD *)&v118 - 8LL) = v96 - 1; } if ( v96 <= 0 ) operator delete(v74); } v75 = a1->m_messageInput; sub_D18D28(&v120); CCTextInputNode::setString(v75, (const unsigned __int8 **)&v120); v76 = (void *)(*(_QWORD *)&v120.origin - 24LL); if ( (__int64 *)(*(_QWORD *)&v120.origin - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v97 = (unsigned int *)(*(_QWORD *)&v120.origin - 8LL); do v98 = __ldaxr(v97); while ( __stlxr(v98 - 1, v97) ); } else { v98 = *(_DWORD *)(*(_QWORD *)&v120.origin - 8LL); *(_DWORD *)(*(_QWORD *)&v120.origin - 8LL) = v98 - 1; } if ( v98 <= 0 ) operator delete(v76); } } p_m_smartTemplates = &v107[-1].m_smartTemplates; if ( &v107[-1].m_smartTemplates != (cocos2d::CCArray **)&qword_124B6B0 ) { if ( &pthread_create ) { p_m_testedNetwork = (unsigned int *)&v107[-1].m_testedNetwork; do v82 = __ldaxr(p_m_testedNetwork); while ( __stlxr(v82 - 1, p_m_testedNetwork) ); } else { v82 = *(_DWORD *)&v107[-1].m_testedNetwork; *(_DWORD *)&v107[-1].m_testedNetwork = v82 - 1; } if ( v82 <= 0 ) operator delete(p_m_smartTemplates); } p_m_pTargetArray = &v106[-1].m_pTargetArray; if ( &v106[-1].m_pTargetArray != (cocos2d::CCArray **)&qword_124B6B0 ) { if ( &pthread_create ) { p_m_nExtraKerning = (unsigned int *)&v106[-1].m_nExtraKerning; do m_nExtraKerning = __ldaxr(p_m_nExtraKerning); while ( __stlxr(m_nExtraKerning - 1, p_m_nExtraKerning) ); } else { m_nExtraKerning = v106[-1].m_nExtraKerning; v106[-1].m_nExtraKerning = m_nExtraKerning - 1; } if ( m_nExtraKerning <= 0 ) operator delete(p_m_pTargetArray); } } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source