// // CustomizeObjectLayer::updateChannelLabel from 0x1001daaf0 to 0x1001dab49 (89 bytes) // // 0 xrefs: // // 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:26 +0000 // __int64 __fastcall CustomizeObjectLayer::updateChannelLabel(__int64 a1, int a2) { char v2; // al __int64 CString; // rax __int64 v4; // rax const std::string::value_type *v5; // rsi if ( a2 < 1000 ) { if ( a2 <= 0 ) { v5 = " "; return (*(__int64 (__fastcall **)(_QWORD, const std::string::value_type *))(**(_QWORD **)(a1 + 808) + 928LL))( *(_QWORD *)(a1 + 808), v5); } v4 = sub_10088E820("%i", v2); CString = cocos2d::CCString::getCString(v4); } else { CString = GJSpecialColorSelect::textForColorIdx((unsigned int)a2); } v5 = (const std::string::value_type *)CString; return (*(__int64 (__fastcall **)(_QWORD, const std::string::value_type *))(**(_QWORD **)(a1 + 808) + 928LL))( *(_QWORD *)(a1 + 808), v5); }