{"type": "func", "start": 4298501008, "end": 4298501178, "name": "CCPartAnimSprite::dirtify", "pseudocode": "// \n// CCPartAnimSprite::dirtify from 0x10035eb90 to 0x10035ec3a (170 bytes)\n// \n// 0 xrefs:\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:55 +0000\n// \n\n__int64 __fastcall CCPartAnimSprite::dirtify(__int64 a1)\n{\n  __int64 result; // rax\n  _QWORD *v2; // r14\n  __int64 v3; // r15\n  unsigned __int64 i; // rbx\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1);\n  if ( result )\n  {\n    result = *(_QWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1) + 56);\n    if ( *(_DWORD *)result )\n    {\n      v2 = *(_QWORD **)(*(_QWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1) + 56) + 16LL);\n      v3 = *(_QWORD *)(*(_QWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1) + 56) + 16LL);\n      result = **(unsigned int **)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1) + 56);\n      for ( i = v3 + 8 * result - 8; (unsigned __int64)v2 <= i; ++v2 )\n      {\n        if ( !*v2 )\n          break;\n        result = (*(__int64 (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*v2 + 1200LL))(*v2, 1);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCPartAnimSprite::dirtify from 0x10035eb90 to 0x10035ec3a (170 bytes)\n; \n; 0 xrefs:\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:55 +0000\n; \npush    rbp                                                            ; +0x0, 0x10035eb90\nmov     rbp, rsp                                                       ; +0x1, 0x10035eb91\npush    r15                                                            ; +0x4, 0x10035eb94\npush    r14                                                            ; +0x6, 0x10035eb96\npush    rbx                                                            ; +0x8, 0x10035eb98\npush    rax                                                            ; +0x9, 0x10035eb99\nmov     rbx, rdi                                                       ; +0xa, 0x10035eb9a\nmov     rax, [rdi]                                                     ; +0xd, 0x10035eb9d\ncall    qword ptr [rax+1E8h]                                           ; +0x10, 0x10035eba0\ntest    rax, rax                                                       ; +0x16, 0x10035eba6\njz      loc_10035EC2F                                                  ; +0x19, 0x10035eba9\nmov     rax, [rbx]                                                     ; +0x1f, 0x10035ebaf\nmov     rdi, rbx                                                       ; +0x22, 0x10035ebb2\ncall    qword ptr [rax+1E8h]                                           ; +0x25, 0x10035ebb5\nmov     rax, [rax+38h]                                                 ; +0x2b, 0x10035ebbb\ncmp     dword ptr [rax], 0                                             ; +0x2f, 0x10035ebbf\njz      short loc_10035EC2F                                            ; +0x32, 0x10035ebc2\nmov     rax, [rbx]                                                     ; +0x34, 0x10035ebc4\nmov     rdi, rbx                                                       ; +0x37, 0x10035ebc7\ncall    qword ptr [rax+1E8h]                                           ; +0x3a, 0x10035ebca\nmov     rax, [rax+38h]                                                 ; +0x40, 0x10035ebd0\nmov     r14, [rax+10h]                                                 ; +0x44, 0x10035ebd4\nmov     rax, [rbx]                                                     ; +0x48, 0x10035ebd8\nmov     rdi, rbx                                                       ; +0x4b, 0x10035ebdb\ncall    qword ptr [rax+1E8h]                                           ; +0x4e, 0x10035ebde\nmov     rax, [rax+38h]                                                 ; +0x54, 0x10035ebe4\nmov     r15, [rax+10h]                                                 ; +0x58, 0x10035ebe8\nmov     rax, [rbx]                                                     ; +0x5c, 0x10035ebec\nmov     rdi, rbx                                                       ; +0x5f, 0x10035ebef\ncall    qword ptr [rax+1E8h]                                           ; +0x62, 0x10035ebf2\nmov     rax, [rax+38h]                                                 ; +0x68, 0x10035ebf8\nmov     eax, [rax]                                                     ; +0x6c, 0x10035ebfc\nlea     rbx, [r15+rax*8]                                               ; +0x6e, 0x10035ebfe\nadd     rbx, 0FFFFFFFFFFFFFFF8h                                        ; +0x72, 0x10035ec02\ncmp     r14, rbx                                                       ; +0x76, 0x10035ec06\nja      short loc_10035EC2F                                            ; +0x79, 0x10035ec09\nnop     dword ptr [rax+rax+00h]                                        ; +0x7b, 0x10035ec0b\nmov     rdi, [r14]                                                     ; +0x80, 0x10035ec10\ntest    rdi, rdi                                                       ; +0x83, 0x10035ec13\njz      short loc_10035EC2F                                            ; +0x86, 0x10035ec16\nmov     rax, [rdi]                                                     ; +0x88, 0x10035ec18\nmov     esi, 1                                                         ; +0x8b, 0x10035ec1b\ncall    qword ptr [rax+4B0h]                                           ; +0x90, 0x10035ec20\nadd     r14, 8                                                         ; +0x96, 0x10035ec26\ncmp     r14, rbx                                                       ; +0x9a, 0x10035ec2a\njbe     short loc_10035EC10                                            ; +0x9d, 0x10035ec2d\nadd     rsp, 8                                                         ; +0x9f, 0x10035ec2f\npop     rbx                                                            ; +0xa3, 0x10035ec33\npop     r14                                                            ; +0xa4, 0x10035ec34\npop     r15                                                            ; +0xa6, 0x10035ec36\npop     rbp                                                            ; +0xa8, 0x10035ec38\nretn                                                                   ; +0xa9, 0x10035ec39", "xrefs": [], "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"}