// // CustomizeObjectLayer::hsvPopupClosed from 0x57e54c to 0x57e5c0 (116 bytes) // // 1 xrefs: // > `non-virtual thunk to'CustomizeObjectLayer::hsvPopupClosed @ 0x57e5c4 // // 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:52:51 +0000 // int __fastcall CustomizeObjectLayer::hsvPopupClosed(GameObject **a1, int a2, int a3, int a4, int a5, int a6) { bool v7; // zf GameObject *v8; // r0 int v9; // r7 _DWORD *RelativeSpriteColor; // r0 unsigned int i; // r4 GameObject *v12; // r0 _DWORD *v13; // r0 v7 = (*(int (__fastcall **)(int))(*(_DWORD *)a2 + 32))(a2) == 1; v8 = a1[133]; if ( v7 ) v9 = 1; else v9 = 2; if ( v8 ) { RelativeSpriteColor = (_DWORD *)GameObject::getRelativeSpriteColor(v8, v9); if ( RelativeSpriteColor ) { RelativeSpriteColor[4] = a3; RelativeSpriteColor[5] = a4; RelativeSpriteColor[6] = a5; RelativeSpriteColor[7] = a6; } } else { for ( i = 0; i < cocos2d::CCArray::count(a1[134]); ++i ) { v12 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1[134], i); v13 = (_DWORD *)GameObject::getRelativeSpriteColor(v12, v9); if ( v13 ) { v13[4] = a3; v13[5] = a4; v13[6] = a5; v13[7] = a6; } } } return CustomizeObjectLayer::updateHSVButtons((CustomizeObjectLayer *)a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source