// // sub_10011AB4C from 0x10011ab4c to 0x10011ac94 (328 bytes) // // 2 xrefs: // > ColorSelectLiveOverlay::init @ 0x10011a508 // > sub_10011AA00 @ 0x10011ab48 // // 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 10:59:12 +0000 // void __fastcall sub_10011AB4C(__int64 a1) { __int64 v2; // x8 __int64 v3; // x21 unsigned int *v4; // x8 __int64 v5; // x8 __int64 v6; // x20 __int64 v7; // x0 const std::string::value_type *CString; // x1 std::string *v9; // x1 unsigned int v10; // w8 std::string v11; // [xsp+8h] [xbp-38h] BYREF v2 = 688; if ( *(_BYTE *)(a1 + 856) ) v2 = 696; v3 = *(_QWORD *)(a1 + v2); if ( v3 ) { v4 = (unsigned int *)(v3 + 92); } else { v5 = *(_QWORD *)(a1 + 664); if ( !v5 ) { LABEL_10: (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 848) + 928LL))(*(_QWORD *)(a1 + 848), " "); return; } v4 = (unsigned int *)(v5 + 1024); } v6 = *v4; if ( (int)v6 < 1 ) goto LABEL_10; sub_100009900(&v11, ""); if ( (unsigned int)v6 > 0x3E7 ) { CString = (const std::string::value_type *)GJSpecialColorSelect::textForColorIdx(v6); } else { v7 = sub_1003065B0("%i", v6); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v7); } std::string::assign(&v11, CString); if ( (v11.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v9 = &v11; else v9 = (std::string *)v11.__r_.__value_.__r.__words[0]; (*(void (__fastcall **)(_QWORD, std::string *))(**(_QWORD **)(a1 + 848) + 928LL))(*(_QWORD *)(a1 + 848), v9); if ( v3 ) { if ( (unsigned int)v6 < 0x3ED ) { LOBYTE(v10) = 1; } else if ( (unsigned int)(v6 - 1009) >= 6 ) { LOBYTE(v10) = 0; } else { v10 = 0x31u >> (v6 + 15); } sub_10011AD38(a1, v10 & 1); } if ( SHIBYTE(v11.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v11.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source