{"type": "func", "start": 4296911600, "end": 4296911689, "name": "CustomizeObjectLayer::updateChannelLabel", "pseudocode": "// \n// CustomizeObjectLayer::updateChannelLabel from 0x1001daaf0 to 0x1001dab49 (89 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:26:26 +0000\n// \n\n__int64 __fastcall CustomizeObjectLayer::updateChannelLabel(__int64 a1, int a2)\n{\n  char v2; // al\n  __int64 CString; // rax\n  __int64 v4; // rax\n  const std::string::value_type *v5; // rsi\n\n  if ( a2 < 1000 )\n  {\n    if ( a2 <= 0 )\n    {\n      v5 = \" \";\n      return (*(__int64 (__fastcall **)(_QWORD, const std::string::value_type *))(**(_QWORD **)(a1 + 808) + 928LL))(\n               *(_QWORD *)(a1 + 808),\n               v5);\n    }\n    v4 = sub_10088E820(\"%i\", v2);\n    CString = cocos2d::CCString::getCString(v4);\n  }\n  else\n  {\n    CString = GJSpecialColorSelect::textForColorIdx((unsigned int)a2);\n  }\n  v5 = (const std::string::value_type *)CString;\n  return (*(__int64 (__fastcall **)(_QWORD, const std::string::value_type *))(**(_QWORD **)(a1 + 808) + 928LL))(\n           *(_QWORD *)(a1 + 808),\n           v5);\n}", "assembly": "; \n; CustomizeObjectLayer::updateChannelLabel from 0x1001daaf0 to 0x1001dab49 (89 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:26:26 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001daaf0\nmov     rbp, rsp                                                       ; +0x1, 0x1001daaf1\npush    rbx                                                            ; +0x4, 0x1001daaf4\npush    rax; char                                                      ; +0x5, 0x1001daaf5\nmov     rbx, rdi                                                       ; +0x6, 0x1001daaf6\ncmp     esi, 3E8h                                                      ; +0x9, 0x1001daaf9\njl      short loc_1001DAB0A                                            ; +0xf, 0x1001daaff\nmov     edi, esi                                                       ; +0x11, 0x1001dab01\ncall    GJSpecialColorSelect__textForColorIdx                          ; +0x13, 0x1001dab03\njmp     short loc_1001DAB24                                            ; +0x18, 0x1001dab08\ntest    esi, esi                                                       ; +0x1a, 0x1001dab0a\njle     short loc_1001DAB40                                            ; +0x1c, 0x1001dab0c\nlea     rdi, aI_14; \"%i\"                                               ; +0x1e, 0x1001dab0e\nxor     eax, eax                                                       ; +0x25, 0x1001dab15\ncall    sub_10088E820                                                  ; +0x27, 0x1001dab17\nmov     rdi, rax                                                       ; +0x2c, 0x1001dab1c\ncall    cocos2d__CCString__getCString                                  ; +0x2f, 0x1001dab1f\nmov     rsi, rax                                                       ; +0x34, 0x1001dab24\nmov     rdi, [rbx+328h]                                                ; +0x37, 0x1001dab27\nmov     rax, [rdi]                                                     ; +0x3e, 0x1001dab2e\nmov     rax, [rax+3A0h]                                                ; +0x41, 0x1001dab31\nadd     rsp, 8                                                         ; +0x48, 0x1001dab38\npop     rbx                                                            ; +0x4c, 0x1001dab3c\npop     rbp                                                            ; +0x4d, 0x1001dab3d\njmp     rax                                                            ; +0x4e, 0x1001dab3e\nlea     rsi, asc_100A41844; \" \"                                        ; +0x50, 0x1001dab40\njmp     short loc_1001DAB27                                            ; +0x57, 0x1001dab47", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}