{"type": "func", "start": 4298360896, "end": 4298361097, "name": "CCAnimatedSprite::dCCAnimatedSprite", "pseudocode": "// \n// CCAnimatedSprite::dCCAnimatedSprite from 0x10033c840 to 0x10033c909 (201 bytes)\n// \n// 11 xrefs:\n// > sub_100313DE0 @ 0x100313de5\n// > sub_100313DF0 @ 0x100313df5\n// > sub_100313E00 @ 0x100313e09\n// > sub_10033C920 @ 0x10033c925\n// > sub_10033C930 @ 0x10033c939\n// > sub_1006AD3D0 @ 0x1006ad43d\n// > GJRobotSprite::dGJRobotSprite @ 0x1006ad4bd\n// > sub_1006AD4D0 @ 0x1006ad537\n// > sub_1006AEAA0 @ 0x1006aeb0d\n// > sub_1006AEB20 @ 0x1006aeb8d\n// > sub_1006AEBA0 @ 0x1006aec07\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:42 +0000\n// \n\n__int64 __fastcall CCAnimatedSprite::dCCAnimatedSprite(__int64 a1)\n{\n  __int64 v2; // rdi\n  __int64 v3; // rdi\n\n  *(_QWORD *)a1 = off_100B1CDC0;\n  *(_QWORD *)(a1 + 320) = off_100B1D2B8;\n  *(_QWORD *)(a1 + 344) = off_100B1D338;\n  v2 = *(_QWORD *)(a1 + 672);\n  if ( v2 )\n    cocos2d::CCNode::stopAllActions(v2);\n  v3 = *(_QWORD *)(a1 + 664);\n  if ( v3 )\n    cocos2d::CCNode::stopAllActions(v3);\n  SpriteAnimationManager::doCleanup(*(_QWORD *)(a1 + 648));\n  *(_QWORD *)(a1 + 648) = 0;\n  if ( (*(_BYTE *)(a1 + 688) & 1) == 0 )\n  {\n    if ( (*(_BYTE *)(a1 + 624) & 1) == 0 )\n      goto LABEL_7;\nLABEL_11:\n    operator delete(*(void **)(a1 + 640));\n    if ( (*(_BYTE *)(a1 + 600) & 1) == 0 )\n      return sub_100274100((_QWORD *)a1);\n    goto LABEL_8;\n  }\n  operator delete(*(void **)(a1 + 704));\n  if ( (*(_BYTE *)(a1 + 624) & 1) != 0 )\n    goto LABEL_11;\nLABEL_7:\n  if ( (*(_BYTE *)(a1 + 600) & 1) != 0 )\nLABEL_8:\n    operator delete(*(void **)(a1 + 616));\n  return sub_100274100((_QWORD *)a1);\n}", "assembly": "; \n; CCAnimatedSprite::dCCAnimatedSprite from 0x10033c840 to 0x10033c909 (201 bytes)\n; \n; 11 xrefs:\n; > sub_100313DE0 @ 0x100313de5\n; > sub_100313DF0 @ 0x100313df5\n; > sub_100313E00 @ 0x100313e09\n; > sub_10033C920 @ 0x10033c925\n; > sub_10033C930 @ 0x10033c939\n; > sub_1006AD3D0 @ 0x1006ad43d\n; > GJRobotSprite::dGJRobotSprite @ 0x1006ad4bd\n; > sub_1006AD4D0 @ 0x1006ad537\n; > sub_1006AEAA0 @ 0x1006aeb0d\n; > sub_1006AEB20 @ 0x1006aeb8d\n; > sub_1006AEBA0 @ 0x1006aec07\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:42 +0000\n; \npush    rbp                                                            ; +0x0, 0x10033c840\nmov     rbp, rsp                                                       ; +0x1, 0x10033c841\npush    rbx                                                            ; +0x4, 0x10033c844\npush    rax                                                            ; +0x5, 0x10033c845\nmov     rbx, rdi                                                       ; +0x6, 0x10033c846\nlea     rax, off_100B1CDC0                                             ; +0x9, 0x10033c849\nmov     [rdi], rax                                                     ; +0x10, 0x10033c850\nlea     rax, off_100B1D2B8                                             ; +0x13, 0x10033c853\nmov     [rdi+140h], rax                                                ; +0x1a, 0x10033c85a\nlea     rax, off_100B1D338                                             ; +0x21, 0x10033c861\nmov     [rdi+158h], rax                                                ; +0x28, 0x10033c868\nmov     rdi, [rdi+2A0h]                                                ; +0x2f, 0x10033c86f\ntest    rdi, rdi                                                       ; +0x36, 0x10033c876\njz      short loc_10033C880                                            ; +0x39, 0x10033c879\ncall    cocos2d__CCNode__stopAllActions                                ; +0x3b, 0x10033c87b\nmov     rdi, [rbx+298h]                                                ; +0x40, 0x10033c880\ntest    rdi, rdi                                                       ; +0x47, 0x10033c887\njz      short loc_10033C891                                            ; +0x4a, 0x10033c88a\ncall    cocos2d__CCNode__stopAllActions                                ; +0x4c, 0x10033c88c\nmov     rdi, [rbx+288h]                                                ; +0x51, 0x10033c891\ncall    SpriteAnimationManager__doCleanup                              ; +0x58, 0x10033c898\nmov     qword ptr [rbx+288h], 0                                        ; +0x5d, 0x10033c89d\ntest    byte ptr [rbx+2B0h], 1                                         ; +0x68, 0x10033c8a8\njnz     short loc_10033C8DD                                            ; +0x6f, 0x10033c8af\ntest    byte ptr [rbx+270h], 1                                         ; +0x71, 0x10033c8b1\njnz     short loc_10033C8F2                                            ; +0x78, 0x10033c8b8\ntest    byte ptr [rbx+258h], 1                                         ; +0x7a, 0x10033c8ba\njz      short loc_10033C8CF                                            ; +0x81, 0x10033c8c1\nmov     rdi, [rbx+268h]; __p                                           ; +0x83, 0x10033c8c3\ncall    __ZdlPv; operator delete(void *)                               ; +0x8a, 0x10033c8ca\nmov     rdi, rbx                                                       ; +0x8f, 0x10033c8cf\nadd     rsp, 8                                                         ; +0x92, 0x10033c8d2\npop     rbx                                                            ; +0x96, 0x10033c8d6\npop     rbp                                                            ; +0x97, 0x10033c8d7\njmp     sub_100274100                                                  ; +0x98, 0x10033c8d8\nmov     rdi, [rbx+2C0h]; __p                                           ; +0x9d, 0x10033c8dd\ncall    __ZdlPv; operator delete(void *)                               ; +0xa4, 0x10033c8e4\ntest    byte ptr [rbx+270h], 1                                         ; +0xa9, 0x10033c8e9\njz      short loc_10033C8BA                                            ; +0xb0, 0x10033c8f0\nmov     rdi, [rbx+280h]; __p                                           ; +0xb2, 0x10033c8f2\ncall    __ZdlPv; operator delete(void *)                               ; +0xb9, 0x10033c8f9\ntest    byte ptr [rbx+258h], 1                                         ; +0xbe, 0x10033c8fe\njnz     short loc_10033C8C3                                            ; +0xc5, 0x10033c905\njmp     short loc_10033C8CF                                            ; +0xc7, 0x10033c907", "xrefs": ["sub_100313DE0 @ 0x100313de5", "sub_100313DF0 @ 0x100313df5", "sub_100313E00 @ 0x100313e09", "sub_10033C920 @ 0x10033c925", "sub_10033C930 @ 0x10033c939", "sub_1006AD3D0 @ 0x1006ad43d", "GJRobotSprite::dGJRobotSprite @ 0x1006ad4bd", "sub_1006AD4D0 @ 0x1006ad537", "sub_1006AEAA0 @ 0x1006aeb0d", "sub_1006AEB20 @ 0x1006aeb8d", "sub_1006AEBA0 @ 0x1006aec07"], "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"}