{"type": "func", "start": 4299286896, "end": 4299286996, "name": "ColorSelectPopup::updateOpacityLabel", "pseudocode": "// \n// ColorSelectPopup::updateOpacityLabel from 0x10041e970 to 0x10041e9d4 (100 bytes)\n// \n// 3 xrefs:\n// > ColorSelectPopup::init @ 0x10041cbd4\n// > ColorSelectPopup::sliderChanged @ 0x10041e884\n// > ColorSelectPopup::onDefault @ 0x10041eaf4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall ColorSelectPopup::updateOpacityLabel(ColorSelectPopup *a1)\n{\n  cocos2d::CCLabelBMFont *m_opacityLabel; // x19\n  cocos2d::CCString *v2; // x0\n  const char *CString; // x1\n\n  m_opacityLabel = a1->m_opacityLabel;\n  if ( m_opacityLabel )\n  {\n    v2 = (cocos2d::CCString *)sub_100268F4C(\"Opacity: %.02f\", a1->m_opacity);\n    CString = cocos2d::CCString::getCString(v2);\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))m_opacityLabel->setString)(m_opacityLabel, CString);\n  }\n}", "assembly": "; \n; ColorSelectPopup::updateOpacityLabel from 0x10041e970 to 0x10041e9d4 (100 bytes)\n; \n; 3 xrefs:\n; > ColorSelectPopup::init @ 0x10041cbd4\n; > ColorSelectPopup::sliderChanged @ 0x10041e884\n; > ColorSelectPopup::onDefault @ 0x10041eaf4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0x30                                          ; +0x0, 0x10041e970\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10041e974\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10041e978\nADD             X29, SP, #0x20                                         ; +0xc, 0x10041e97c\nLDR             X19, [X0,#0x3D0]                                       ; +0x10, 0x10041e980\nCBZ             X19, loc_10041E9C4                                     ; +0x14, 0x10041e984\nLDR             S0, [X0,#0x42C]                                        ; +0x18, 0x10041e988\nFCVT            D0, S0                                                 ; +0x1c, 0x10041e98c\nSTR             D0, [SP,#0x20+var_20]                                  ; +0x20, 0x10041e990\nADRL            X0, aOpacity02f; \"Opacity: %.02f\"                      ; +0x24, 0x10041e994\nBL              sub_100268F4C                                          ; +0x2c, 0x10041e99c\nBL              cocos2d__CCString__getCString                          ; +0x30, 0x10041e9a0\nMOV             X1, X0                                                 ; +0x34, 0x10041e9a4\nLDR             X8, [X19]                                              ; +0x38, 0x10041e9a8\nLDR             X2, [X8,#0x390]                                        ; +0x3c, 0x10041e9ac\nMOV             X0, X19                                                ; +0x40, 0x10041e9b0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x44, 0x10041e9b4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x48, 0x10041e9b8\nADD             SP, SP, #0x30 ; '0'                                    ; +0x4c, 0x10041e9bc\nBR              X2                                                     ; +0x50, 0x10041e9c0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x54, 0x10041e9c4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x58, 0x10041e9c8\nADD             SP, SP, #0x30 ; '0'                                    ; +0x5c, 0x10041e9cc\nRET                                                                    ; +0x60, 0x10041e9d0", "xrefs": ["ColorSelectPopup::init @ 0x10041cbd4", "ColorSelectPopup::sliderChanged @ 0x10041e884", "ColorSelectPopup::onDefault @ 0x10041eaf4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}