{"type": "func", "start": 4298744840, "end": 4298744948, "name": "CCAnimatedSprite::runAnimation", "pseudocode": "// \n// CCAnimatedSprite::runAnimation from 0x10039a408 to 0x10039a474 (108 bytes)\n// \n// 26 xrefs:\n// > PlayerObject::createRobot @ 0x1002b568c\n// > PlayerObject::createSpider @ 0x1002b596c\n// > PlayerObject::updateMove @ 0x1002b85a8\n// > PlayerObject::updateMove @ 0x1002b8e24\n// > PlayerObject::updateMove @ 0x1002b8f28\n// > PlayerObject::stopDashing @ 0x1002b9aac\n// > sub_1002B9B0C @ 0x1002b9bd0\n// > sub_1002B9B0C @ 0x1002b9c40\n// > sub_1002B9B0C @ 0x1002b9c70\n// > PlayerObject::hitGround @ 0x1002c0780\n// > sub_1002C28E0 @ 0x1002c2c40\n// > sub_1002C28E0 @ 0x1002c2cd4\n// > PlayerObject::ringJump @ 0x1002c58c0\n// > PlayerObject::toggleRobotMode @ 0x1002c7f0c\n// > PlayerObject::toggleRobotMode @ 0x1002c7fbc\n// > PlayerObject::toggleSpiderMode @ 0x1002c8220\n// > PlayerObject::propellPlayer @ 0x1002c9b38\n// > PlayerObject::propellPlayer @ 0x1002c9b74\n// > PlayerObject::updateRobotAnimationSpeed @ 0x1002ca548\n// > PlayerObject::animationFinished @ 0x1002cb598\n// > PlayerObject::animationFinished @ 0x1002cb61c\n// > PlayerObject::animationFinished @ 0x1002cb64c\n// > PlayerObject::animationFinished @ 0x1002cb6f4\n// > PlayerObject::animationFinished @ 0x1002cb730\n// > GJRobotSprite::init @ 0x1002dc86c\n// > CCAnimatedSprite::tweenToAnimationFinished @ 0x10039a790\n// \n// This function is hookable on this platform (idp: arm, 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 11:03:43 +0000\n// \n\nvoid __fastcall CCAnimatedSprite::runAnimation(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x19\n  void *__p[2]; // [xsp+0h] [xbp-30h] BYREF\n  __int64 v4; // [xsp+10h] [xbp-20h]\n\n  v2 = *(_QWORD *)(a1 + 648);\n  if ( *(char *)(a2 + 23) < 0 )\n  {\n    sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));\n  }\n  else\n  {\n    *(_OWORD *)__p = *(_OWORD *)a2;\n    v4 = *(_QWORD *)(a2 + 16);\n  }\n  SpriteAnimationManager::runAnimation(v2, __p);\n  if ( SHIBYTE(v4) < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; CCAnimatedSprite::runAnimation from 0x10039a408 to 0x10039a474 (108 bytes)\n; \n; 26 xrefs:\n; > PlayerObject::createRobot @ 0x1002b568c\n; > PlayerObject::createSpider @ 0x1002b596c\n; > PlayerObject::updateMove @ 0x1002b85a8\n; > PlayerObject::updateMove @ 0x1002b8e24\n; > PlayerObject::updateMove @ 0x1002b8f28\n; > PlayerObject::stopDashing @ 0x1002b9aac\n; > sub_1002B9B0C @ 0x1002b9bd0\n; > sub_1002B9B0C @ 0x1002b9c40\n; > sub_1002B9B0C @ 0x1002b9c70\n; > PlayerObject::hitGround @ 0x1002c0780\n; > sub_1002C28E0 @ 0x1002c2c40\n; > sub_1002C28E0 @ 0x1002c2cd4\n; > PlayerObject::ringJump @ 0x1002c58c0\n; > PlayerObject::toggleRobotMode @ 0x1002c7f0c\n; > PlayerObject::toggleRobotMode @ 0x1002c7fbc\n; > PlayerObject::toggleSpiderMode @ 0x1002c8220\n; > PlayerObject::propellPlayer @ 0x1002c9b38\n; > PlayerObject::propellPlayer @ 0x1002c9b74\n; > PlayerObject::updateRobotAnimationSpeed @ 0x1002ca548\n; > PlayerObject::animationFinished @ 0x1002cb598\n; > PlayerObject::animationFinished @ 0x1002cb61c\n; > PlayerObject::animationFinished @ 0x1002cb64c\n; > PlayerObject::animationFinished @ 0x1002cb6f4\n; > PlayerObject::animationFinished @ 0x1002cb730\n; > GJRobotSprite::init @ 0x1002dc86c\n; > CCAnimatedSprite::tweenToAnimationFinished @ 0x10039a790\n; \n; This function is hookable on this platform (idp: arm, 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 11:03:43 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x10039a408\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10039a40c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10039a410\nADD             X29, SP, #0x30                                         ; +0xc, 0x10039a414\nLDR             X19, [X0,#0x288]                                       ; +0x10, 0x10039a418\nLDRSB           W8, [X1,#0x17]                                         ; +0x14, 0x10039a41c\nTBNZ            W8, #0x1F, loc_10039A438                               ; +0x18, 0x10039a420\nLDR             Q0, [X1]                                               ; +0x1c, 0x10039a424\nSTR             Q0, [SP,#0x30+__p]                                     ; +0x20, 0x10039a428\nLDR             X8, [X1,#0x10]                                         ; +0x24, 0x10039a42c\nSTR             X8, [SP,#0x30+var_20]                                  ; +0x28, 0x10039a430\nB               loc_10039A448                                          ; +0x2c, 0x10039a434\nLDP             X8, X2, [X1]                                           ; +0x30, 0x10039a438\nMOV             X0, SP; __dst                                          ; +0x34, 0x10039a43c\nMOV             X1, X8; __src                                          ; +0x38, 0x10039a440\nBL              sub_1000097D0                                          ; +0x3c, 0x10039a444\nMOV             X1, SP                                                 ; +0x40, 0x10039a448\nMOV             X0, X19                                                ; +0x44, 0x10039a44c\nBL              SpriteAnimationManager__runAnimation                   ; +0x48, 0x10039a450\nLDRSB           W8, [SP,#0x30+var_20+7]                                ; +0x4c, 0x10039a454\nTBZ             W8, #0x1F, loc_10039A464                               ; +0x50, 0x10039a458\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x54, 0x10039a45c\nBL              __ZdlPv; operator delete(void *)                       ; +0x58, 0x10039a460\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x5c, 0x10039a464\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x60, 0x10039a468\nADD             SP, SP, #0x40 ; '@'                                    ; +0x64, 0x10039a46c\nRET                                                                    ; +0x68, 0x10039a470", "xrefs": ["PlayerObject::createRobot @ 0x1002b568c", "PlayerObject::createSpider @ 0x1002b596c", "PlayerObject::updateMove @ 0x1002b85a8", "PlayerObject::updateMove @ 0x1002b8e24", "PlayerObject::updateMove @ 0x1002b8f28", "PlayerObject::stopDashing @ 0x1002b9aac", "sub_1002B9B0C @ 0x1002b9bd0", "sub_1002B9B0C @ 0x1002b9c40", "sub_1002B9B0C @ 0x1002b9c70", "PlayerObject::hitGround @ 0x1002c0780", "sub_1002C28E0 @ 0x1002c2c40", "sub_1002C28E0 @ 0x1002c2cd4", "PlayerObject::ringJump @ 0x1002c58c0", "PlayerObject::toggleRobotMode @ 0x1002c7f0c", "PlayerObject::toggleRobotMode @ 0x1002c7fbc", "PlayerObject::toggleSpiderMode @ 0x1002c8220", "PlayerObject::propellPlayer @ 0x1002c9b38", "PlayerObject::propellPlayer @ 0x1002c9b74", "PlayerObject::updateRobotAnimationSpeed @ 0x1002ca548", "PlayerObject::animationFinished @ 0x1002cb598", "PlayerObject::animationFinished @ 0x1002cb61c", "PlayerObject::animationFinished @ 0x1002cb64c", "PlayerObject::animationFinished @ 0x1002cb6f4", "PlayerObject::animationFinished @ 0x1002cb730", "GJRobotSprite::init @ 0x1002dc86c", "CCAnimatedSprite::tweenToAnimationFinished @ 0x10039a790"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}