// // ColorSelectPopup::updateColorValue from 0x4def68 to 0x4defee (134 bytes) // // 1 xrefs: // > ColorSelectPopup::colorValueChanged @ 0x4e1d62 // // 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:50:59 +0000 // unsigned int __fastcall ColorSelectPopup::updateColorValue(unsigned int this) { unsigned int v1; // r4 _BYTE *v2; // r3 char v3; // r1 char v4; // r2 unsigned int v5; // r5 _BYTE *v6; // r0 char v7; // r2 char v8; // r3 _BYTE *v9; // r3 char v10; // r1 char v11; // r2 v1 = this; if ( !*(_BYTE *)(this + 804) ) { v2 = *(_BYTE **)(this + 528); if ( v2 ) { this = *(unsigned __int8 *)(this + 760); v3 = *(_BYTE *)(v1 + 761); v4 = *(_BYTE *)(v1 + 762); v2[1268] = this; v2[1269] = v3; v2[1270] = v4; } else if ( *(_DWORD *)(this + 532) ) { v5 = *(_DWORD *)(this + 528); while ( 1 ) { this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v1 + 532)); if ( v5 >= this ) break; v6 = (_BYTE *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v1 + 532), v5); v7 = *(_BYTE *)(v1 + 761); ++v5; v8 = *(_BYTE *)(v1 + 762); v6[1268] = *(_BYTE *)(v1 + 760); v6[1269] = v7; v6[1270] = v8; } } else { v9 = *(_BYTE **)(this + 784); if ( v9 ) { this = *(unsigned __int8 *)(this + 760); v10 = *(_BYTE *)(v1 + 761); v11 = *(_BYTE *)(v1 + 762); v9[68] = this; v9[69] = v10; v9[70] = v11; } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source