{"type": "func", "start": 3961392, "end": 3961504, "name": "CCPartAnimSprite::dirtify", "pseudocode": "// \n// CCPartAnimSprite::dirtify from 0x3c7230 to 0x3c72a0 (112 bytes)\n// \n// 0 xrefs:\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:46:35 +0000\n// \n\n_DWORD **__fastcall CCPartAnimSprite::dirtify(CCPartAnimSprite *this)\n{\n  _DWORD **result; // r0\n  _DWORD *v3; // r5\n  int v4; // r6\n  unsigned int v5; // r4\n  _DWORD **v6; // t1\n\n  result = (_DWORD **)(*(int (__fastcall **)(CCPartAnimSprite *))(*(_DWORD *)this + 244))(this);\n  if ( result )\n  {\n    result = (_DWORD **)(*(int (__fastcall **)(CCPartAnimSprite *))(*(_DWORD *)this + 244))(this);\n    if ( *result[13] )\n    {\n      v3 = *(_DWORD **)(*(_DWORD *)((*(int (__fastcall **)(CCPartAnimSprite *))(*(_DWORD *)this + 244))(this) + 52) + 12);\n      v4 = *(_DWORD *)(*(_DWORD *)((*(int (__fastcall **)(CCPartAnimSprite *))(*(_DWORD *)this + 244))(this) + 52) + 12);\n      result = (_DWORD **)(*(int (__fastcall **)(CCPartAnimSprite *))(*(_DWORD *)this + 244))(this);\n      v5 = v4 + 4 * (*result[13] + 0x3FFFFFFF);\n      while ( (unsigned int)v3 <= v5 )\n      {\n        v6 = (_DWORD **)*v3++;\n        result = v6;\n        if ( !v6 )\n          break;\n        result = (_DWORD **)((int (__fastcall *)(_DWORD **, int))(*result)[150])(result, 1);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCPartAnimSprite::dirtify from 0x3c7230 to 0x3c72a0 (112 bytes)\n; \n; 0 xrefs:\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:46:35 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3c7230\nMOV             R4, R0                                                 ; +0x2, 0x3c7232\nLDR             R3, [R0]                                               ; +0x4, 0x3c7234\nLDR.W           R3, [R3,#0xF4]                                         ; +0x6, 0x3c7236\nBLX             R3                                                     ; +0xa, 0x3c723a\nCMP             R0, #0                                                 ; +0xc, 0x3c723c\nBEQ             locret_3C729E                                          ; +0xe, 0x3c723e\nLDR             R3, [R4]                                               ; +0x10, 0x3c7240\nMOV             R0, R4                                                 ; +0x12, 0x3c7242\nLDR.W           R3, [R3,#0xF4]                                         ; +0x14, 0x3c7244\nBLX             R3                                                     ; +0x18, 0x3c7248\nLDR             R3, [R0,#0x34]                                         ; +0x1a, 0x3c724a\nLDR             R3, [R3]                                               ; +0x1c, 0x3c724c\nCBNZ            R3, loc_3C7252                                         ; +0x1e, 0x3c724e\nPOP             {R4-R6,PC}                                             ; +0x20, 0x3c7250\nLDR             R3, [R4]                                               ; +0x22, 0x3c7252\nMOV             R0, R4                                                 ; +0x24, 0x3c7254\nLDR.W           R3, [R3,#0xF4]                                         ; +0x26, 0x3c7256\nBLX             R3                                                     ; +0x2a, 0x3c725a\nLDR             R3, [R0,#0x34]                                         ; +0x2c, 0x3c725c\nMOV             R0, R4                                                 ; +0x2e, 0x3c725e\nLDR             R5, [R3,#0xC]                                          ; +0x30, 0x3c7260\nLDR             R3, [R4]                                               ; +0x32, 0x3c7262\nLDR.W           R3, [R3,#0xF4]                                         ; +0x34, 0x3c7264\nBLX             R3                                                     ; +0x38, 0x3c7268\nLDR             R3, [R0,#0x34]                                         ; +0x3a, 0x3c726a\nMOV             R0, R4                                                 ; +0x3c, 0x3c726c\nLDR             R6, [R3,#0xC]                                          ; +0x3e, 0x3c726e\nLDR             R3, [R4]                                               ; +0x40, 0x3c7270\nLDR.W           R3, [R3,#0xF4]                                         ; +0x42, 0x3c7272\nBLX             R3                                                     ; +0x46, 0x3c7276\nLDR             R3, [R0,#0x34]                                         ; +0x48, 0x3c7278\nLDR             R3, [R3]                                               ; +0x4a, 0x3c727a\nADD.W           R3, R3, #0x40000000                                    ; +0x4c, 0x3c727c\nSUBS            R3, #1                                                 ; +0x50, 0x3c7280\nADD.W           R4, R6, R3,LSL#2                                       ; +0x52, 0x3c7282\nCMP             R5, R4                                                 ; +0x56, 0x3c7286\nBHI             locret_3C729E                                          ; +0x58, 0x3c7288\nLDR.W           R0, [R5],#4                                            ; +0x5a, 0x3c728a\nCBZ             R0, locret_3C729C                                      ; +0x5e, 0x3c728e\nLDR             R3, [R0]                                               ; +0x60, 0x3c7290\nMOVS            R1, #1                                                 ; +0x62, 0x3c7292\nLDR.W           R3, [R3,#0x258]                                        ; +0x64, 0x3c7294\nBLX             R3                                                     ; +0x68, 0x3c7298\nB               loc_3C7286                                             ; +0x6a, 0x3c729a\nPOP             {R4-R6,PC}                                             ; +0x6c, 0x3c729c\nPOP             {R4-R6,PC}                                             ; +0x6e, 0x3c729e", "xrefs": [], "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"}