// // CustomizeObjectLayer::onUpdateCustomColor from 0x1001d9fd0 to 0x1001da096 (198 bytes) // // 1 xrefs: // > CustomizeObjectLayer::init @ 0x1001d8596 // // 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 12:26:25 +0000 // __int64 __fastcall CustomizeObjectLayer::onUpdateCustomColor(__int64 a1, __int64 a2, double a3) { char v3; // al int v4; // eax int v5; // ecx int v6; // eax int v7; // esi __int64 CString; // rax __int64 v9; // rax const std::string::value_type *v10; // rsi char v12; // [rsp-8h] [rbp-10h] v12 = v3; *(_BYTE *)(a1 + 922) = 1; v4 = *(_DWORD *)(a1 + 748) + 2 * ((*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1) - 1; v5 = 10; if ( v4 >= 11 ) v5 = v4; v6 = 999; if ( v5 < 999 ) v6 = v5; *(_DWORD *)(a1 + 748) = v6; CustomizeObjectLayer::updateCustomColorLabels(a1, a3); CustomizeObjectLayer::updateSelected(a1, *(unsigned int *)(a1 + 748)); *(_BYTE *)(a1 + 922) = 0; CustomizeObjectLayer::updateColorSprite(a1); v7 = *(_DWORD *)(a1 + 748); if ( v7 < 1000 ) { if ( v7 <= 0 ) { v10 = " "; return (*(__int64 (__fastcall **)(_QWORD, const std::string::value_type *))(**(_QWORD **)(a1 + 808) + 928LL))( *(_QWORD *)(a1 + 808), v10); } v9 = sub_10088E820("%i", v12); CString = cocos2d::CCString::getCString(v9); } else { CString = GJSpecialColorSelect::textForColorIdx((unsigned int)v7); } v10 = (const std::string::value_type *)CString; return (*(__int64 (__fastcall **)(_QWORD, const std::string::value_type *))(**(_QWORD **)(a1 + 808) + 928LL))( *(_QWORD *)(a1 + 808), v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source