{"type": "func", "start": 6442771024, "end": 6442771169, "name": "cocos2d::CCLabelBMFont::setOpacity", "pseudocode": "// \n// cocos2d::CCLabelBMFont::setOpacity from 0x18004e250 to 0x18004e2e1 (145 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800f27b0\n// > <???> @ 0x180140bb4\n// > <???> @ 0x180140bc4\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bbd10\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:21:44 +0000\n// \n\nvoid __fastcall cocos2d::CCLabelBMFont::setOpacity(cocos2d::CCLabelBMFont *this, char a2)\n{\n  bool v2; // zf\n  unsigned __int8 v4; // si\n  __int64 v5; // rax\n  __int64 v6; // rdi\n\n  v2 = *((_BYTE *)this + 137) == 0;\n  *((_BYTE *)this + 129) = a2;\n  *((_BYTE *)this + 128) = a2;\n  if ( !v2 )\n  {\n    v4 = -1;\n    v5 = _RTDynamicCast(\n           *((_QWORD *)this - 19),\n           0,\n           &cocos2d::CCNode `RTTI Type Descriptor',\n           &cocos2d::CCRGBAProtocol `RTTI Type Descriptor',\n           0);\n    v6 = v5;\n    if ( v5 )\n    {\n      if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v5 + 88LL))(v5) )\n        v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 24LL))(v6);\n    }\n    (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, _QWORD))(*(_QWORD *)this + 104LL))(this, v4);\n  }\n}", "assembly": "; \n; cocos2d::CCLabelBMFont::setOpacity from 0x18004e250 to 0x18004e2e1 (145 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800f27b0\n; > <???> @ 0x180140bb4\n; > <???> @ 0x180140bc4\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bbd10\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:21:44 +0000\n; \npush    rbx                                                            ; +0x0, 0x18004e250\nsub     rsp, 30h                                                       ; +0x2, 0x18004e252\ncmp     byte ptr [rcx+89h], 0                                          ; +0x6, 0x18004e256\nmov     rbx, rcx                                                       ; +0xd, 0x18004e25d\nmov     [rcx+81h], dl                                                  ; +0x10, 0x18004e260\nmov     [rcx+80h], dl                                                  ; +0x16, 0x18004e266\njz      short loc_18004E2DB                                            ; +0x1c, 0x18004e26c\nmov     rcx, [rcx-98h]                                                 ; +0x1e, 0x18004e26e\nlea     r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x25, 0x18004e275\nmov     [rsp+38h+arg_0], rsi                                           ; +0x2c, 0x18004e27c\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x31, 0x18004e281\nxor     edx, edx                                                       ; +0x38, 0x18004e288\nmov     [rsp+38h+arg_8], rdi                                           ; +0x3a, 0x18004e28a\nmov     sil, 0FFh                                                      ; +0x3f, 0x18004e28f\nmov     [rsp+38h+var_18], 0                                            ; +0x42, 0x18004e292\ncall    __RTDynamicCast                                                ; +0x4a, 0x18004e29a\nmov     rdi, rax                                                       ; +0x4f, 0x18004e29f\ntest    rax, rax                                                       ; +0x52, 0x18004e2a2\njz      short loc_18004E2C0                                            ; +0x55, 0x18004e2a5\nmov     rax, [rax]                                                     ; +0x57, 0x18004e2a7\nmov     rcx, rdi                                                       ; +0x5a, 0x18004e2aa\ncall    qword ptr [rax+58h]                                            ; +0x5d, 0x18004e2ad\ntest    al, al                                                         ; +0x60, 0x18004e2b0\njz      short loc_18004E2C0                                            ; +0x62, 0x18004e2b2\nmov     rax, [rdi]                                                     ; +0x64, 0x18004e2b4\nmov     rcx, rdi                                                       ; +0x67, 0x18004e2b7\ncall    qword ptr [rax+18h]                                            ; +0x6a, 0x18004e2ba\nmovzx   esi, al                                                        ; +0x6d, 0x18004e2bd\nmov     rcx, [rbx]                                                     ; +0x70, 0x18004e2c0\nmovzx   edx, sil                                                       ; +0x73, 0x18004e2c3\nmov     r8, [rcx+68h]                                                  ; +0x77, 0x18004e2c7\nmov     rcx, rbx                                                       ; +0x7b, 0x18004e2cb\ncall    r8                                                             ; +0x7e, 0x18004e2ce\nmov     rdi, [rsp+38h+arg_8]                                           ; +0x81, 0x18004e2d1\nmov     rsi, [rsp+38h+arg_0]                                           ; +0x86, 0x18004e2d6\nadd     rsp, 30h                                                       ; +0x8b, 0x18004e2db\npop     rbx                                                            ; +0x8f, 0x18004e2df\nretn                                                                   ; +0x90, 0x18004e2e0", "xrefs": ["<???> @ 0x1800f27b0", "<???> @ 0x180140bb4", "<???> @ 0x180140bc4", "<???> @ 0x18014cf68", "<???> @ 0x1801bbd10"], "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"}