// // SetupTriggerPopup::createPageButtons from 0x67ae00 to 0x67afdc (476 bytes) // // 16 xrefs: // > SetupSpawnPopup::init @ 0x5eb7d6 // > SetupRotateCommandPopup::init @ 0x610be6 // > SetupSongTriggerPopup::init @ 0x658d50 // > SetupOptionsTriggerPopup::init @ 0x675f1a // > SetupAreaMoveTriggerPopup::init @ 0x69066c // > SetupAreaTransformTriggerPopup::init @ 0x690c6a // > SetupAreaRotateTriggerPopup::init @ 0x69119c // > SetupAreaFadeTriggerPopup::init @ 0x6916b4 // > SetupAreaTintTriggerPopup::init @ 0x691d40 // > SetupAreaTriggerPopup::init @ 0x692176 // > SetupAdvFollowPopup::init @ 0x699022 // > SetupKeyframeAnimPopup::init @ 0x6ae08a // > SetupSFXEditPopup::init @ 0x6b1240 // > SetupSFXPopup::init @ 0x6b2236 // > SelectEventLayer::init @ 0x6bb9dc // > AccountBanPopup::init @ 0x764c28 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:55:58 +0000 // int __fastcall SetupTriggerPopup::createPageButtons(SetupTriggerPopup *this, float a2, unsigned int a3) { const char *v4; // r5 char *CString; // r1 int *v7; // r0 cocos2d::CCString *v8; // r0 const cocos2d::CCPoint *v9; // r7 const char *v10; // r1 float v11; // s15 cocos2d::CCSprite *v12; // r0 int v13; // r7 int v14; // r0 int v15; // r10 const char *v16; // r1 cocos2d::CCSprite *v17; // r0 cocos2d::CCSprite *v18; // r8 int v19; // r0 int v20; // r5 void (__fastcall *v21)(int, _BYTE *); // r10 void (__fastcall *v23)(int, _DWORD *); // [sp+10h] [bp-4Ch] float v24[2]; // [sp+18h] [bp-44h] BYREF _BYTE v25[8]; // [sp+20h] [bp-3Ch] BYREF _BYTE v26[8]; // [sp+28h] [bp-34h] BYREF _BYTE v27[8]; // [sp+30h] [bp-2Ch] BYREF int (__fastcall *v28)(cocos2d::CCArray **, cocos2d::CCObject *); // [sp+38h] [bp-24h] int v29; // [sp+3Ch] [bp-20h] _DWORD v30[2]; // [sp+40h] [bp-1Ch] BYREF int v31[2]; // [sp+48h] [bp-14h] BYREF cocos2d::CCSprite *v32; // [sp+50h] [bp-Ch] v4 = (const char *)__usat(2u, a3); v31[0] = 0; v31[1] = 0; v32 = nullptr; if ( v4 ) { v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"GJ_arrow_0%i_001.png", v4); CString = (char *)cocos2d::CCString::getCString(v8); } else { CString = "edit_leftBtn_001.png"; } v7 = std::string::assign(v31, CString); cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v7); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v24); v9 = *((const cocos2d::CCPoint **)this + 111); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, v24[0] * 0.5, *((float *)this + 141) + (float)(v24[1] * 0.5)); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v25, v9); v11 = 0.7; if ( !v4 ) v11 = 1.0; if ( (v31[0] & 1) != 0 ) v12 = v32; else v12 = (cocos2d::CCSprite *)((char *)v31 + 1); v13 = cocos2d::CCSprite::createWithSpriteFrameName(v12, v10); (*(void (__fastcall **)(int, float))(*(_DWORD *)v13 + 80))(v13, COERCE_FLOAT(LODWORD(v11))); v28 = SetupTriggerPopup::onPage; v29 = 0; v14 = CCMenuItemSpriteExtra::create(v13, 0, (int)this, (int)SetupTriggerPopup::onPage, 0); *((_DWORD *)this + 173) = v14; (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 111) + 228))(*((_DWORD *)this + 111), v14); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 173) + 36))(*((_DWORD *)this + 173), -1); v15 = *((_DWORD *)this + 173); v23 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v15 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v27, COERCE_FLOAT(LODWORD(a2) ^ 0x80000000), 0.0); cocos2d::CCPoint::operator+(v30, v25, v27); v23(v15, v30); CCMenuItemSpriteExtra::setSizeMult(*((_DWORD *)this + 173), 2.0); if ( (v31[0] & 1) != 0 ) v17 = v32; else v17 = (cocos2d::CCSprite *)((char *)v31 + 1); v18 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName(v17, v16); cocos2d::CCSprite::setFlipX(v18, 1); (*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_DWORD *)v18 + 80))(v18, COERCE_FLOAT(LODWORD(v11))); v30[0] = SetupTriggerPopup::onPage; v30[1] = 0; v19 = CCMenuItemSpriteExtra::create((int)v18, 0, (int)this, (int)SetupTriggerPopup::onPage, 0); *((_DWORD *)this + 174) = v19; (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 111) + 228))(*((_DWORD *)this + 111), v19); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 174) + 36))(*((_DWORD *)this + 174), 1); v20 = *((_DWORD *)this + 174); v21 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v20 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v26, a2, 0.0); cocos2d::CCPoint::operator+(v27, v25, v26); v21(v20, v27); CCMenuItemSpriteExtra::setSizeMult(*((_DWORD *)this + 174), 2.0); return std::string::~string((int)v31); }
GD Web Decomp Icon

GD Web Decomp

Raw Source