{"type": "func", "start": 4298484448, "end": 4298484597, "name": "GJItemIcon::setOpacity", "pseudocode": "// \n// GJItemIcon::setOpacity from 0x10035aae0 to 0x10035ab75 (149 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b24818\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 12:28:53 +0000\n// \n\n__int64 __fastcall GJItemIcon::setOpacity(__int64 a1, unsigned int a2)\n{\n  __int64 result; // rax\n  __int64 v3; // rbx\n  unsigned int v4; // r15d\n  __int64 v5; // rax\n\n  cocos2d::CCSprite::setOpacity(a1, a2);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 600) + 912LL))(*(_QWORD *)(a1 + 600), a2);\n  result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 600) + 488LL))(*(_QWORD *)(a1 + 600));\n  if ( result )\n  {\n    v3 = result;\n    result = sub_1007FEF90(result);\n    if ( (_DWORD)result )\n    {\n      v4 = 0;\n      do\n      {\n        v5 = sub_1007FEFE0(v3, v4);\n        (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 912LL))(v5, (unsigned __int8)a2);\n        ++v4;\n        result = sub_1007FEF90(v3);\n      }\n      while ( v4 < (unsigned int)result );\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJItemIcon::setOpacity from 0x10035aae0 to 0x10035ab75 (149 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b24818\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 12:28:53 +0000\n; \npush    rbp                                                            ; +0x0, 0x10035aae0\nmov     rbp, rsp                                                       ; +0x1, 0x10035aae1\npush    r15                                                            ; +0x4, 0x10035aae4\npush    r14                                                            ; +0x6, 0x10035aae6\npush    rbx                                                            ; +0x8, 0x10035aae8\npush    rax                                                            ; +0x9, 0x10035aae9\nmov     r14d, esi                                                      ; +0xa, 0x10035aaea\nmov     rbx, rdi                                                       ; +0xd, 0x10035aaed\ncall    cocos2d__CCSprite__setOpacity                                  ; +0x10, 0x10035aaf0\nmov     rdi, [rbx+258h]                                                ; +0x15, 0x10035aaf5\nmov     rax, [rdi]                                                     ; +0x1c, 0x10035aafc\nmov     esi, r14d                                                      ; +0x1f, 0x10035aaff\ncall    qword ptr [rax+390h]                                           ; +0x22, 0x10035ab02\nmov     rdi, [rbx+258h]                                                ; +0x28, 0x10035ab08\nmov     rax, [rdi]                                                     ; +0x2f, 0x10035ab0f\ncall    qword ptr [rax+1E8h]                                           ; +0x32, 0x10035ab12\ntest    rax, rax                                                       ; +0x38, 0x10035ab18\njz      short loc_10035AB6A                                            ; +0x3b, 0x10035ab1b\nmov     rbx, rax                                                       ; +0x3d, 0x10035ab1d\nmov     rdi, rax                                                       ; +0x40, 0x10035ab20\ncall    sub_1007FEF90                                                  ; +0x43, 0x10035ab23\ntest    eax, eax                                                       ; +0x48, 0x10035ab28\njz      short loc_10035AB6A                                            ; +0x4a, 0x10035ab2a\nxor     r15d, r15d                                                     ; +0x4c, 0x10035ab2c\nmovzx   r14d, r14b                                                     ; +0x4f, 0x10035ab2f\nnop     word ptr [rax+rax+00000000h]                                   ; +0x53, 0x10035ab33\nmov     rdi, rbx                                                       ; +0x60, 0x10035ab40\nmov     esi, r15d                                                      ; +0x63, 0x10035ab43\ncall    sub_1007FEFE0                                                  ; +0x66, 0x10035ab46\nmov     rcx, [rax]                                                     ; +0x6b, 0x10035ab4b\nmov     rdi, rax                                                       ; +0x6e, 0x10035ab4e\nmov     esi, r14d                                                      ; +0x71, 0x10035ab51\ncall    qword ptr [rcx+390h]                                           ; +0x74, 0x10035ab54\ninc     r15d                                                           ; +0x7a, 0x10035ab5a\nmov     rdi, rbx                                                       ; +0x7d, 0x10035ab5d\ncall    sub_1007FEF90                                                  ; +0x80, 0x10035ab60\ncmp     r15d, eax                                                      ; +0x85, 0x10035ab65\njb      short loc_10035AB40                                            ; +0x88, 0x10035ab68\nadd     rsp, 8                                                         ; +0x8a, 0x10035ab6a\npop     rbx                                                            ; +0x8e, 0x10035ab6e\npop     r14                                                            ; +0x8f, 0x10035ab6f\npop     r15                                                            ; +0x91, 0x10035ab71\npop     rbp                                                            ; +0x93, 0x10035ab73\nretn                                                                   ; +0x94, 0x10035ab74", "xrefs": ["<???> @ 0x100b24818"], "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"}