{"type": "func", "start": 4303382816, "end": 4303382899, "name": "ColorSelectPopup::updateOpacityLabel", "pseudocode": "// \n// ColorSelectPopup::updateOpacityLabel from 0x100806920 to 0x100806973 (83 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:36:40 +0000\n// \n\n__int64 __fastcall ColorSelectPopup::updateOpacityLabel(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v2; // rbx\n  double v3; // xmm0_8\n  __int64 v4; // rax\n  __int64 CString; // rax\n\n  v2 = *(_QWORD *)(a1 + 1048);\n  if ( v2 )\n  {\n    v3 = *(float *)(a1 + 1140);\n    v4 = sub_10088E820(\"Opacity: %.02f\", result);\n    CString = cocos2d::CCString::getCString(v4);\n    return (*(__int64 (__fastcall **)(__int64, __int64, double))(*(_QWORD *)v2 + 928LL))(v2, CString, v3);\n  }\n  return result;\n}", "assembly": "; \n; ColorSelectPopup::updateOpacityLabel from 0x100806920 to 0x100806973 (83 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:36:40 +0000\n; \npush    rbp                                                            ; +0x0, 0x100806920\nmov     rbp, rsp                                                       ; +0x1, 0x100806921\npush    rbx                                                            ; +0x4, 0x100806924\npush    rax; char                                                      ; +0x5, 0x100806925\nmov     rbx, [rdi+418h]                                                ; +0x6, 0x100806926\ntest    rbx, rbx                                                       ; +0xd, 0x10080692d\njz      short loc_10080696C                                            ; +0x10, 0x100806930\nmovss   xmm0, dword ptr [rdi+474h]                                     ; +0x12, 0x100806932\ncvtss2sd xmm0, xmm0                                                    ; +0x1a, 0x10080693a\nlea     rdi, aOpacity02f; \"Opacity: %.02f\"                             ; +0x1e, 0x10080693e\nmov     al, 1                                                          ; +0x25, 0x100806945\ncall    sub_10088E820                                                  ; +0x27, 0x100806947\nmov     rdi, rax                                                       ; +0x2c, 0x10080694c\ncall    cocos2d__CCString__getCString                                  ; +0x2f, 0x10080694f\nmov     rcx, [rbx]                                                     ; +0x34, 0x100806954\nmov     rcx, [rcx+3A0h]                                                ; +0x37, 0x100806957\nmov     rdi, rbx                                                       ; +0x3e, 0x10080695e\nmov     rsi, rax                                                       ; +0x41, 0x100806961\nadd     rsp, 8                                                         ; +0x44, 0x100806964\npop     rbx                                                            ; +0x48, 0x100806968\npop     rbp                                                            ; +0x49, 0x100806969\njmp     rcx                                                            ; +0x4a, 0x10080696a\nadd     rsp, 8                                                         ; +0x4c, 0x10080696c\npop     rbx                                                            ; +0x50, 0x100806970\npop     rbp                                                            ; +0x51, 0x100806971\nretn                                                                   ; +0x52, 0x100806972", "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"}