// // CreateParticlePopup::colorSelectClosed from 0x66664c to 0x666850 (516 bytes) // // 1 xrefs: // > `non-virtual thunk to'CreateParticlePopup::colorSelectClosed @ 0x66685c // // 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:41 +0000 // int __fastcall CreateParticlePopup::colorSelectClosed(cocos2d::CCArray **this, cocos2d::CCNode *a2) { int result; // r0 int v5; // r3 int *v6; // r0 int v7; // r3 int (__fastcall *v8)(int *, __int16 *); // r4 int *v9; // r5 int v10; // r3 int *v11; // r0 int v12; // r1 int v13; // r2 int v14; // r3 int *v15; // r4 int v16; // r3 int *v17; // r0 int v18; // r1 int v19; // r2 int v20; // r3 int *v21; // t0 __int16 v22; // [sp+4h] [bp-Ch] BYREF unsigned __int8 v23; // [sp+6h] [bp-Ah] __int16 v24; // [sp+8h] [bp-8h] BYREF char v25; // [sp+Ah] [bp-6h] result = (*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)a2 + 32))(a2); v5 = *((_DWORD *)a2 + 190); v22 = v5; v23 = BYTE2(v5); if ( result ) { if ( result == 1 ) { CreateParticlePopup::updateParticleValueForType( (unsigned int)this, (float)(unsigned __int8)v22 / 255.0, 26, nullptr); CreateParticlePopup::updateParticleValueForType((unsigned int)this, (float)HIBYTE(v22) / 255.0, 28, nullptr); CreateParticlePopup::updateParticleValueForType((unsigned int)this, (float)v23 / 255.0, 30, nullptr); CreateParticlePopup::updateInputNodeStringForType((int)this, 0x1Au); CreateParticlePopup::updateInputNodeStringForType((int)this, 0x1Cu); CreateParticlePopup::updateInputNodeStringForType((int)this, 0x1Eu); CreateParticlePopup::updateSliderForType(this, 26); CreateParticlePopup::updateSliderForType(this, 28); CreateParticlePopup::updateSliderForType(this, 30); (*(void (__fastcall **)(_DWORD, __int16 *))(*(_DWORD *)*(this + 167) + 480))(*(this + 167), &v22); v9 = (int *)*(this + 136); v10 = *v9; v9 += 156; v11 = (int *)(*(int (__fastcall **)(_DWORD))(v10 + 676))(*(this + 136)); v12 = v11[1]; v13 = v11[2]; v14 = v11[3]; *v9 = *v11; v9[1] = v12; v9[2] = v13; v9[3] = v14; v15 = (int *)*(this + 136); v16 = *v15; v17 = v15; v15 += 160; v21 = (int *)(*(int (__fastcall **)(int *))(v16 + 692))(v17); result = *v21++; v18 = *v21++; v19 = *v21; v20 = v21[1]; *v15 = result; v15[1] = v18; v15[2] = v19; v15[3] = v20; } else if ( result == 2 ) { CreateParticlePopup::updateParticleValueForType( (unsigned int)this, (float)(unsigned __int8)v22 / 255.0, 34, nullptr); CreateParticlePopup::updateParticleValueForType((unsigned int)this, (float)HIBYTE(v22) / 255.0, 36, nullptr); CreateParticlePopup::updateParticleValueForType((unsigned int)this, (float)v23 / 255.0, 38, nullptr); CreateParticlePopup::updateInputNodeStringForType((int)this, 0x22u); CreateParticlePopup::updateInputNodeStringForType((int)this, 0x24u); CreateParticlePopup::updateInputNodeStringForType((int)this, 0x26u); CreateParticlePopup::updateSliderForType(this, 34); CreateParticlePopup::updateSliderForType(this, 36); CreateParticlePopup::updateSliderForType(this, 38); return (*(int (__fastcall **)(_DWORD, __int16 *))(*(_DWORD *)*(this + 168) + 480))(*(this + 168), &v22); } } else { (*(void (__fastcall **)(_DWORD, __int16 *))(*(_DWORD *)*(this + 147) + 608))(*(this + 147), &v22); (*(void (__fastcall **)(_DWORD, __int16 *))(*(_DWORD *)*(this + 166) + 480))(*(this + 166), &v22); v6 = (int *)*(this + 173); v7 = *v6; v24 = ~v22; v8 = *(int (__fastcall **)(int *, __int16 *))(v7 + 536); v25 = ~v23; return v8(v6, &v24); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source