// // CreateParticlePopup::onSelectColor from 0x6643b0 to 0x664468 (184 bytes) // // 0 xrefs: // // 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:39 +0000 // int __fastcall CreateParticlePopup::onSelectColor(CreateParticlePopup *this, cocos2d::CCObject *a2) { int v4; // r0 int v5; // r0 unsigned int v6; // r3 int (*v7)(void); // r3 float *v8; // r0 int *v9; // r5 void (__fastcall *v10)(int *, int); // r7 int v11; // r0 int v12; // r3 ColorAction *v14; // [sp+4h] [bp-8h] v14 = a2; v4 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); switch ( v4 ) { case 0: v5 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 147) + 600))(*((_DWORD *)this + 147)); LOBYTE(v6) = *(_BYTE *)(v5 + 2); LOWORD(v14) = *(_WORD *)v5; LABEL_8: BYTE2(v14) = v6; break; case 1: v7 = *(int (**)(void))(**((_DWORD **)this + 136) + 676); LABEL_7: v8 = (float *)v7(); v6 = (unsigned int)(float)(v8[2] * 255.0); BYTE1(v14) = (unsigned int)(float)(v8[1] * 255.0); LOBYTE(v14) = (unsigned int)(float)(*v8 * 255.0); goto LABEL_8; case 2: v7 = *(int (**)(void))(**((_DWORD **)this + 136) + 692); goto LABEL_7; } v9 = ColorSelectPopup::create(v14); v10 = *(void (__fastcall **)(int *, int))(*v9 + 36); v11 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v10(v9, v11); v12 = *v9; v9[191] = (int)this + 520; return (*(int (__fastcall **)(int *))(v12 + 656))(v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source