// // ColorSelectPopup::updateColorValue from 0x862d84 to 0x862e40 (188 bytes) // // 2 xrefs: // > ColorSelectPopup::colorValueChanged @ 0x867214 // > @ 0x55120 // // 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 12:55:37 +0000 // __int64 __fastcall ColorSelectPopup::updateColorValue(ColorSelectPopup *this) { __int64 result; // x0 char v3; // w2 char v4; // w1 cocos2d::CCArray *v5; // x0 unsigned int v6; // w20 _BYTE *v7; // x0 char v8; // w2 char v9; // w1 bool v10; // cf unsigned int v11; // w1 char v12; // w2 char v13; // w1 result = *((unsigned __int8 *)this + 1172); if ( !(_DWORD)result ) { result = *((_QWORD *)this + 85); if ( result ) { v3 = *((_BYTE *)this + 1112); v4 = *((_BYTE *)this + 1113); *(_BYTE *)(result + 1450) = *((_BYTE *)this + 1114); *(_BYTE *)(result + 1448) = v3; *(_BYTE *)(result + 1449) = v4; } else { v5 = *((cocos2d::CCArray **)this + 86); if ( v5 ) { v6 = 0; while ( 1 ) { result = cocos2d::CCArray::count(v5); v10 = v6 >= (unsigned int)result; v11 = v6++; if ( v10 ) break; v7 = (_BYTE *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v11); v8 = *((_BYTE *)this + 1112); v9 = *((_BYTE *)this + 1113); v7[1450] = *((_BYTE *)this + 1114); v7[1448] = v8; v7[1449] = v9; v5 = *((cocos2d::CCArray **)this + 86); } } else { result = *((_QWORD *)this + 143); if ( result ) { v12 = *((_BYTE *)this + 1112); v13 = *((_BYTE *)this + 1113); *(_BYTE *)(result + 74) = *((_BYTE *)this + 1114); *(_BYTE *)(result + 72) = v12; *(_BYTE *)(result + 73) = v13; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source