{"type": "func", "start": 5107504, "end": 5107556, "name": "ColorSelectPopup::updateOpacityLabel", "pseudocode": "// \n// ColorSelectPopup::updateOpacityLabel from 0x4def30 to 0x4def64 (52 bytes)\n// \n// 3 xrefs:\n// > ColorSelectPopup::onDefault @ 0x4df456\n// > ColorSelectPopup::sliderChanged @ 0x4df6de\n// > ColorSelectPopup::init @ 0x4e00ca\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:50:59 +0000\n// \n\nint __fastcall ColorSelectPopup::updateOpacityLabel(int this, const char *a2)\n{\n  int v2; // r4\n  int (__fastcall *v3)(int, int); // r5\n  cocos2d::CCString *v4; // r0\n  int CString; // r0\n\n  v2 = *(_DWORD *)(this + 728);\n  if ( v2 )\n  {\n    v3 = *(int (__fastcall **)(int, int))(*(_DWORD *)v2 + 464);\n    v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                (cocos2d::CCString *)\"Opacity: %.02f\",\n                                a2,\n                                *(float *)(this + 780));\n    CString = cocos2d::CCString::getCString(v4);\n    return v3(v2, CString);\n  }\n  return this;\n}", "assembly": "; \n; ColorSelectPopup::updateOpacityLabel from 0x4def30 to 0x4def64 (52 bytes)\n; \n; 3 xrefs:\n; > ColorSelectPopup::onDefault @ 0x4df456\n; > ColorSelectPopup::sliderChanged @ 0x4df6de\n; > ColorSelectPopup::init @ 0x4e00ca\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:50:59 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x4def30\nLDR.W           R4, [R0,#0x2D8]                                        ; +0x2, 0x4def32\nCBZ             R4, locret_4DEF62                                      ; +0x6, 0x4def36\nVLDR            S15, [R0,#0x30C]                                       ; +0x8, 0x4def38\nLDR             R3, [R4]                                               ; +0xc, 0x4def3c\nLDR             R0, =(aOpacity02f - 0x4DEF4C); \"Opacity: %.02f\"        ; +0xe, 0x4def3e\nVCVT.F64.F32    D7, S15                                                ; +0x10, 0x4def40\nLDR.W           R5, [R3,#0x1D0]                                        ; +0x14, 0x4def44\nADD             R0, PC; \"Opacity: %.02f\"                               ; +0x18, 0x4def48\nVMOV            R2, R3, D7                                             ; +0x1a, 0x4def4a\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x1e, 0x4def4e\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x22, 0x4def52\nMOV             R3, R5                                                 ; +0x26, 0x4def56\nMOV             R1, R0                                                 ; +0x28, 0x4def58\nMOV             R0, R4                                                 ; +0x2a, 0x4def5a\nPOP.W           {R4-R6,LR}                                             ; +0x2c, 0x4def5c\nBX              R3                                                     ; +0x30, 0x4def60\nPOP             {R4-R6,PC}                                             ; +0x32, 0x4def62", "xrefs": ["ColorSelectPopup::onDefault @ 0x4df456", "ColorSelectPopup::sliderChanged @ 0x4df6de", "ColorSelectPopup::init @ 0x4e00ca"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}