// // FindObjectPopup::onBuildWindowContent from 0xcbd33c to 0xcbd808 (1228 bytes) // // 2 xrefs: // > @ 0xeb270 // > @ 0x14fbc68 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:06:15 +0000 // __int64 __fastcall FindObjectPopup::onBuildWindowContent(ScrollableContentLayer **this) { char *v2; // x21 GameManager *v3; // x0 GameManager *v4; // x0 IDNameInput *v5; // x24 cocos2d::CCDictionary *v6; // x25 float v7; // s8 float *v8; // x21 const char *v9; // x1 cocos2d::CCString *v10; // x0 const char *CString; // x1 size_t v12; // x0 float v13; // s10 float v14; // s9 const char *v15; // x6 __int64 v16; // x0 __int64 v17; // x23 void (__fastcall *v18)(__int64, __int64 *); // x25 const char *v19; // x1 __int64 v20; // x25 __int64 v21; // x25 void (__fastcall *v22)(__int64, __int64 *); // x26 const char *v23; // x1 cocos2d::CCSprite *v24; // x23 __int64 v25; // x23 void (__fastcall *v26)(__int64, __int64 *); // x24 const char *v27; // x1 __int64 v28; // x23 __int64 v29; // x23 cocos2d::CCNode *v30; // x24 void (__fastcall *v31)(__int64, __int64 *); // x21 cocos2d::CCPoint *v33; // [xsp+88h] [xbp+78h] __int64 v34; // [xsp+90h] [xbp+80h] BYREF float v35; // [xsp+98h] [xbp+88h] BYREF float v36; // [xsp+9Ch] [xbp+8Ch] _BYTE v37[8]; // [xsp+A0h] [xbp+90h] BYREF __int64 v38; // [xsp+A8h] [xbp+98h] BYREF __int64 v39; // [xsp+B0h] [xbp+A0h] BYREF __int64 v40; // [xsp+B8h] [xbp+A8h] void *v41; // [xsp+C0h] [xbp+B0h] v2 = (char *)(this + 68); v3 = (GameManager *)EditorWindowPopup::contentCenter(&v34, (EditorWindowPopup *)this); v4 = (GameManager *)GameManager::sharedState(v3); *((_DWORD *)this + 291) = GameManager::getIntGameVariable(v4, "0230"); v39 = 0; v40 = 0; v41 = nullptr; std::string::__init(&v39, "Group ID", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, *(float *)&v34, *((float *)&v34 + 1) + 11.5); v5 = (IDNameInput *)IDNameInput::create(this, v2, 1, 51, &v39, &v38, 6, 0, 0.8, 0, 0); if ( (v39 & 1) != 0 ) operator delete(v41); v6 = *(this + 104); v7 = (float)*((int *)this + 291); v8 = (float *)operator new(0x40u); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v8); v8[14] = v7; *(_QWORD *)v8 = &off_14AF5B0; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8); cocos2d::CCDictionary::setObject(v6, (cocos2d::CCObject *)v8, 51); v9 = (const char *)*((unsigned int *)this + 291); if ( (int)v9 <= 0 ) { CString = &byte_11B8890; } else { v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v9); CString = (const char *)cocos2d::CCString::getCString(v10); } v33 = (cocos2d::CCPoint *)CString; v39 = 0; v40 = 0; v41 = nullptr; v12 = strlen(CString); std::string::__init(&v39, v33, v12); SetupTriggerPopup::updateInputNodeLabel((__int64)this, 51, (char *)&v39); if ( (v39 & 1) != 0 ) operator delete(v41); if ( v5 ) IDNameInput::refreshLabel(v5); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v35, (ScrollableContentLayer *)((char *)*(this + 130) + 424)); v13 = -28.5 - (float)(v36 * 0.5); v14 = v35 * 0.5; v16 = ButtonSprite::create( (ButtonSprite *)"Select", (const char *)&dword_30 + 2, 0, 1, 0.6, "goldFont.fnt", "GJ_button_01.png", v15, 25.0); v17 = CCMenuItemSpriteExtra::create(v16, 0, (__int64)this, (__int64)FindObjectPopup::onSelect, 0); v18 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v17 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, v14, v13); v18(v17, &v38); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 131) + 456LL))(*(this + 131), v17); v20 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_01_001.png", v19); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v20 + 160LL))(v20, 0.5); v21 = CCMenuItemSpriteExtra::create(v20, 0, (__int64)this, (__int64)FindObjectPopup::onFindStep, 0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v21 + 72LL))(v21, 1); v22 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v21 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, v14 - 60.0, v13); v22(v21, &v38); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 131) + 456LL))(*(this + 131), v21); v24 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"GJ_arrow_01_001.png", v23); (*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v24 + 160LL))(v24, 0.5); cocos2d::CCSprite::setFlipX(v24, 1); v25 = CCMenuItemSpriteExtra::create((__int64)v24, 0, (__int64)this, (__int64)FindObjectPopup::onFindStep, 0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v25 + 72LL))(v25, 2); v26 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v25 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, v14 + 60.0, v13); v26(v25, &v38); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 131) + 456LL))(*(this + 131), v25); v28 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_optionsBtn02_001.png", v27); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v28 + 160LL))(v28, 0.45); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v28 + 912LL))(v28, 4294967240LL); v29 = CCMenuItemSpriteExtra::create(v28, 0, (__int64)this, (__int64)FindObjectPopup::onOptions, 0); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v29); v30 = *(this + 69); v31 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v29 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v37, (float)(*(float *)&v34 + (float)(*((float *)this + 264) * 0.5)) - 12.0, (float)(*((float *)&v34 + 1) + (float)(*((float *)this + 265) * 0.5)) - 14.0); cocos2d::CCNode::convertToNodeSpace(&v38, v30, (const cocos2d::CCPoint *)v37); v31(v29, &v38); ScrollableContentLayer::setContentHeight(*(this + 130), v36); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source