{"type": "func", "start": 3043528, "end": 3043640, "name": "CCPartAnimSprite::dirtify", "pseudocode": "// \n// CCPartAnimSprite::dirtify from 0x2e70c8 to 0x2e7138 (112 bytes)\n// \n// 0 xrefs:\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 CCPartAnimSprite::dirtify(CCPartAnimSprite *a1)\n{\n  cocos2d::CCObject **arr; // r5\n  cocos2d::CCObject **v3; // r6\n  cocos2d::CCObject **v4; // r4\n  int v5; // r0\n  int v6; // t1\n\n  if ( a1->getChildren(a1) && a1->getChildren(a1)->data->num )\n  {\n    arr = a1->getChildren(a1)->data->arr;\n    v3 = a1->getChildren(a1)->data->arr;\n    v4 = &v3[a1->getChildren(a1)->data->num] + 0x3FFFFFFF;\n    while ( arr <= v4 )\n    {\n      v6 = (int)*arr++;\n      v5 = v6;\n      if ( !v6 )\n        break;\n      (*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 592))(v5, 1);\n    }\n  }\n}", "assembly": "; \n; CCPartAnimSprite::dirtify from 0x2e70c8 to 0x2e7138 (112 bytes)\n; \n; 0 xrefs:\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\nLDR             R3, [R0]                                               ; +0x0, 0x2e70c8\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x2e70ca\nMOV             R4, R0                                                 ; +0x4, 0x2e70cc\nLDR.W           R3, [R3,#0xEC]                                         ; +0x6, 0x2e70ce\nBLX             R3                                                     ; +0xa, 0x2e70d2\nCMP             R0, #0                                                 ; +0xc, 0x2e70d4\nBEQ             locret_2E7136                                          ; +0xe, 0x2e70d6\nLDR             R3, [R4]                                               ; +0x10, 0x2e70d8\nMOV             R0, R4                                                 ; +0x12, 0x2e70da\nLDR.W           R3, [R3,#0xEC]                                         ; +0x14, 0x2e70dc\nBLX             R3                                                     ; +0x18, 0x2e70e0\nLDR             R3, [R0,#0x34]                                         ; +0x1a, 0x2e70e2\nLDR             R3, [R3]                                               ; +0x1c, 0x2e70e4\nCBNZ            R3, loc_2E70EA                                         ; +0x1e, 0x2e70e6\nPOP             {R4-R6,PC}                                             ; +0x20, 0x2e70e8\nLDR             R3, [R4]                                               ; +0x22, 0x2e70ea\nMOV             R0, R4                                                 ; +0x24, 0x2e70ec\nLDR.W           R3, [R3,#0xEC]                                         ; +0x26, 0x2e70ee\nBLX             R3                                                     ; +0x2a, 0x2e70f2\nLDR             R3, [R0,#0x34]                                         ; +0x2c, 0x2e70f4\nMOV             R0, R4                                                 ; +0x2e, 0x2e70f6\nLDR             R5, [R3,#0xC]                                          ; +0x30, 0x2e70f8\nLDR             R3, [R4]                                               ; +0x32, 0x2e70fa\nLDR.W           R3, [R3,#0xEC]                                         ; +0x34, 0x2e70fc\nBLX             R3                                                     ; +0x38, 0x2e7100\nLDR             R3, [R0,#0x34]                                         ; +0x3a, 0x2e7102\nMOV             R0, R4                                                 ; +0x3c, 0x2e7104\nLDR             R6, [R3,#0xC]                                          ; +0x3e, 0x2e7106\nLDR             R3, [R4]                                               ; +0x40, 0x2e7108\nLDR.W           R3, [R3,#0xEC]                                         ; +0x42, 0x2e710a\nBLX             R3                                                     ; +0x46, 0x2e710e\nLDR             R3, [R0,#0x34]                                         ; +0x48, 0x2e7110\nLDR             R3, [R3]                                               ; +0x4a, 0x2e7112\nADD.W           R3, R3, #0x40000000                                    ; +0x4c, 0x2e7114\nSUBS            R3, #1                                                 ; +0x50, 0x2e7118\nADD.W           R4, R6, R3,LSL#2                                       ; +0x52, 0x2e711a\nCMP             R5, R4                                                 ; +0x56, 0x2e711e\nBHI             locret_2E7136                                          ; +0x58, 0x2e7120\nLDR.W           R0, [R5],#4                                            ; +0x5a, 0x2e7122\nCBZ             R0, locret_2E7134                                      ; +0x5e, 0x2e7126\nLDR             R3, [R0]                                               ; +0x60, 0x2e7128\nMOVS            R1, #1                                                 ; +0x62, 0x2e712a\nLDR.W           R3, [R3,#0x250]                                        ; +0x64, 0x2e712c\nBLX             R3                                                     ; +0x68, 0x2e7130\nB               loc_2E711E                                             ; +0x6a, 0x2e7132\nPOP             {R4-R6,PC}                                             ; +0x6c, 0x2e7134\nPOP             {R4-R6,PC}                                             ; +0x6e, 0x2e7136", "xrefs": [], "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"}