{"type": "func", "start": 5369930784, "end": 5369930875, "name": "ColorSelectPopup::updateOpacityLabel", "pseudocode": "// \n// ColorSelectPopup::updateOpacityLabel from 0x14012a420 to 0x14012a47b (91 bytes)\n// \n// 6 xrefs:\n// > ColorSelectPopup::init @ 0x140127473\n// > ColorSelectPopup::onDefault @ 0x140129f4a\n// > ColorSelectPopup::sliderChanged @ 0x14012a1ec\n// > <???> @ 0x1408985b8\n// > <???> @ 0x1408985c8\n// > <???> @ 0x140916b5c\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 11:27:00 +0000\n// \n\nvoid __fastcall ColorSelectPopup::updateOpacityLabel(__int64 a1)\n{\n  __int64 v1; // rdi\n  void (__fastcall **v2)(__int64, const char *); // rbx\n  cocos2d::CCString *v3; // rax\n  const char *CString; // rax\n\n  v1 = *(_QWORD *)(a1 + 1032);\n  if ( v1 )\n  {\n    v2 = *(void (__fastcall ***)(__int64, const char *))(v1 + 360);\n    v3 = cocos2d::CCString::createWithFormat(\"Opacity: %.02f\", *(float *)(a1 + 1124));\n    CString = cocos2d::CCString::getCString(v3);\n    (*v2)(v1 + 360, CString);\n  }\n}", "assembly": "; \n; ColorSelectPopup::updateOpacityLabel from 0x14012a420 to 0x14012a47b (91 bytes)\n; \n; 6 xrefs:\n; > ColorSelectPopup::init @ 0x140127473\n; > ColorSelectPopup::onDefault @ 0x140129f4a\n; > ColorSelectPopup::sliderChanged @ 0x14012a1ec\n; > <???> @ 0x1408985b8\n; > <???> @ 0x1408985c8\n; > <???> @ 0x140916b5c\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 11:27:00 +0000\n; \npush    rdi                                                            ; +0x0, 0x14012a420\nsub     rsp, 20h                                                       ; +0x2, 0x14012a422\nmov     rdi, [rcx+408h]                                                ; +0x6, 0x14012a426\ntest    rdi, rdi                                                       ; +0xd, 0x14012a42d\njz      short loc_14012A475                                            ; +0x10, 0x14012a430\nmovss   xmm1, dword ptr [rcx+464h]                                     ; +0x12, 0x14012a432\nlea     rcx, aOpacity02f; \"Opacity: %.02f\"                             ; +0x1a, 0x14012a43a\ncvtps2pd xmm1, xmm1                                                    ; +0x21, 0x14012a441\nmov     [rsp+28h+arg_0], rbx                                           ; +0x24, 0x14012a444\nmov     rbx, [rdi+168h]                                                ; +0x29, 0x14012a449\nmovq    rdx, xmm1                                                      ; +0x30, 0x14012a450\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x35, 0x14012a455\nmov     rcx, rax                                                       ; +0x3b, 0x14012a45b\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x3e, 0x14012a45e\nmov     rdx, rax                                                       ; +0x44, 0x14012a464\nlea     rcx, [rdi+168h]                                                ; +0x47, 0x14012a467\ncall    qword ptr [rbx]                                                ; +0x4e, 0x14012a46e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x50, 0x14012a470\nadd     rsp, 20h                                                       ; +0x55, 0x14012a475\npop     rdi                                                            ; +0x59, 0x14012a479\nretn                                                                   ; +0x5a, 0x14012a47a", "xrefs": ["ColorSelectPopup::init @ 0x140127473", "ColorSelectPopup::onDefault @ 0x140129f4a", "ColorSelectPopup::sliderChanged @ 0x14012a1ec", "<???> @ 0x1408985b8", "<???> @ 0x1408985c8", "<???> @ 0x140916b5c"], "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"}