// // ColorSelectPopup::onCopyOpacity from 0x140129af0 to 0x140129b8f (159 bytes) // // 4 xrefs: // > ColorSelectPopup::init @ 0x140127e48 // > @ 0x1408984b0 // > @ 0x1408984c0 // > @ 0x140916a9c // // This function is hookable on this platform (idp: pc, 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 11:27:00 +0000 // char __fastcall ColorSelectPopup::onCopyOpacity(__int64 a1) { unsigned int v2; // eax __int64 v3; // rcx cocos2d::CCArray *v4; // rcx unsigned int v5; // edi struct cocos2d::CCObject *v6; // rax __int64 v7; // rcx LOBYTE(v2) = *(_BYTE *)(a1 + 1164) == 0; *(_BYTE *)(a1 + 1164) = v2; v3 = *(_QWORD *)(a1 + 680); if ( v3 ) { *(_BYTE *)(v3 + 1648) = v2; } else { v4 = *(cocos2d::CCArray **)(a1 + 688); if ( v4 ) { v5 = 0; v2 = cocos2d::CCArray::count(v4); if ( v2 ) { do { v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v5++); *((_BYTE *)v6 + 1648) = *(_BYTE *)(a1 + 1164); v2 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)); } while ( v5 < v2 ); } } else { v7 = *(_QWORD *)(a1 + 1128); if ( v7 ) *(_BYTE *)(v7 + 125) = v2; } } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source