{"type": "func", "start": 5369153408, "end": 5369153536, "name": "MultilineBitmapFont::setOpacity", "pseudocode": "// \n// MultilineBitmapFont::setOpacity from 0x14006c780 to 0x14006c800 (128 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140535620\n// > <???> @ 0x1406c606c\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 MultilineBitmapFont::setOpacity(MultilineBitmapFont *a1, unsigned __int8 a2)\n{\n  unsigned int i; // ebx\n  struct cocos2d::CCObject *v5; // rax\n\n  for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)&a1->m_fontWidths._Elems[222]); ++i )\n  {\n    v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)&a1->m_fontWidths._Elems[222], i);\n    (*(void (__fastcall **)(int *, _QWORD))(*(_QWORD *)&v5[5].m_unknown2 + 40LL))(&v5[5].m_unknown2, a2);\n  }\n  cocos2d::CCSprite::setOpacity(a1, a2);\n}", "assembly": "; \n; MultilineBitmapFont::setOpacity from 0x14006c780 to 0x14006c800 (128 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140535620\n; > <???> @ 0x1406c606c\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14006c780\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14006c785\npush    rdi                                                            ; +0xa, 0x14006c78a\nsub     rsp, 20h                                                       ; +0xb, 0x14006c78b\nmov     rdi, rcx                                                       ; +0xf, 0x14006c78f\nmovzx   esi, dl                                                        ; +0x12, 0x14006c792\nmov     rcx, [rcx+5D0h]                                                ; +0x15, 0x14006c795\nxor     ebx, ebx                                                       ; +0x1c, 0x14006c79c\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1e, 0x14006c79e\ntest    eax, eax                                                       ; +0x24, 0x14006c7a4\njz      short loc_14006C7E3                                            ; +0x26, 0x14006c7a6\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x28, 0x14006c7a8\nmov     rcx, [rdi+5D0h]                                                ; +0x30, 0x14006c7b0\nmov     edx, ebx                                                       ; +0x37, 0x14006c7b7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x14006c7b9\nmovzx   edx, sil                                                       ; +0x3f, 0x14006c7bf\nlea     rcx, [rax+140h]                                                ; +0x43, 0x14006c7c3\nmov     rax, [rcx]                                                     ; +0x4a, 0x14006c7ca\ncall    qword ptr [rax+28h]                                            ; +0x4d, 0x14006c7cd\nmov     rcx, [rdi+5D0h]                                                ; +0x50, 0x14006c7d0\ninc     ebx                                                            ; +0x57, 0x14006c7d7\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x59, 0x14006c7d9\ncmp     ebx, eax                                                       ; +0x5f, 0x14006c7df\njb      short loc_14006C7B0                                            ; +0x61, 0x14006c7e1\nmovzx   edx, sil                                                       ; +0x63, 0x14006c7e3\nmov     rcx, rdi                                                       ; +0x67, 0x14006c7e7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6a, 0x14006c7ea\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x6f, 0x14006c7ef\nadd     rsp, 20h                                                       ; +0x74, 0x14006c7f4\npop     rdi                                                            ; +0x78, 0x14006c7f8\njmp     cs:__imp_?setOpacity@CCSprite@cocos2d@@UEAAXE@Z; cocos2d::CCSprite::setOpacity(uchar) ; +0x79, 0x14006c7f9", "xrefs": ["<???> @ 0x140535620", "<???> @ 0x1406c606c"], "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"}