{"type": "func", "start": 3031744, "end": 3031808, "name": "CCAnimatedSprite::runAnimation", "pseudocode": "// \n// CCAnimatedSprite::runAnimation from 0x2e42c0 to 0x2e4300 (64 bytes)\n// \n// 26 xrefs:\n// > CCAnimatedSprite::tweenToAnimationFinished @ 0x2e4324\n// > PlayerObject::animationFinished @ 0x33c474\n// > PlayerObject::animationFinished @ 0x33c4c0\n// > PlayerObject::animationFinished @ 0x33c4de\n// > PlayerObject::animationFinished @ 0x33c530\n// > PlayerObject::animationFinished @ 0x33c550\n// > PlayerObject::createRobot @ 0x33cd80\n// > PlayerObject::createSpider @ 0x33cf28\n// > PlayerObject::updateDashArt @ 0x33f90e\n// > PlayerObject::updateDashArt @ 0x33f95e\n// > PlayerObject::propellPlayer @ 0x341dbe\n// > PlayerObject::propellPlayer @ 0x341de0\n// > PlayerObject::playDynamicSpiderRun @ 0x342d0c\n// > PlayerObject::playDynamicSpiderRun @ 0x342d62\n// > PlayerObject::playDynamicSpiderRun @ 0x342d96\n// > PlayerObject::updateMove @ 0x342fee\n// > PlayerObject::updateMove @ 0x34383e\n// > PlayerObject::updateMove @ 0x34388c\n// > PlayerObject::stopDashing @ 0x34408e\n// > PlayerObject::hitGround @ 0x34443e\n// > PlayerObject::updateRobotAnimationSpeed @ 0x344832\n// > PlayerObject::toggleSpiderMode @ 0x346cfa\n// > PlayerObject::toggleRobotMode @ 0x3475d0\n// > PlayerObject::toggleRobotMode @ 0x3475e6\n// > PlayerObject::ringJump @ 0x34e5ce\n// > GJRobotSprite::init @ 0x4b8776\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\nint __fastcall CCAnimatedSprite::runAnimation(int a1, int a2)\n{\n  SpriteAnimationManager *v2; // r6\n  _DWORD v4[2]; // [sp+0h] [bp-8h] BYREF\n\n  v4[0] = a1;\n  v4[1] = a2;\n  v2 = *(SpriteAnimationManager **)(a1 + 516);\n  sub_775C20(v4, a2);\n  SpriteAnimationManager::runAnimation(v2, (std::string)v4);\n  return sub_774008(v4);\n}", "assembly": "; \n; CCAnimatedSprite::runAnimation from 0x2e42c0 to 0x2e4300 (64 bytes)\n; \n; 26 xrefs:\n; > CCAnimatedSprite::tweenToAnimationFinished @ 0x2e4324\n; > PlayerObject::animationFinished @ 0x33c474\n; > PlayerObject::animationFinished @ 0x33c4c0\n; > PlayerObject::animationFinished @ 0x33c4de\n; > PlayerObject::animationFinished @ 0x33c530\n; > PlayerObject::animationFinished @ 0x33c550\n; > PlayerObject::createRobot @ 0x33cd80\n; > PlayerObject::createSpider @ 0x33cf28\n; > PlayerObject::updateDashArt @ 0x33f90e\n; > PlayerObject::updateDashArt @ 0x33f95e\n; > PlayerObject::propellPlayer @ 0x341dbe\n; > PlayerObject::propellPlayer @ 0x341de0\n; > PlayerObject::playDynamicSpiderRun @ 0x342d0c\n; > PlayerObject::playDynamicSpiderRun @ 0x342d62\n; > PlayerObject::playDynamicSpiderRun @ 0x342d96\n; > PlayerObject::updateMove @ 0x342fee\n; > PlayerObject::updateMove @ 0x34383e\n; > PlayerObject::updateMove @ 0x34388c\n; > PlayerObject::stopDashing @ 0x34408e\n; > PlayerObject::hitGround @ 0x34443e\n; > PlayerObject::updateRobotAnimationSpeed @ 0x344832\n; > PlayerObject::toggleSpiderMode @ 0x346cfa\n; > PlayerObject::toggleRobotMode @ 0x3475d0\n; > PlayerObject::toggleRobotMode @ 0x3475e6\n; > PlayerObject::ringJump @ 0x34e5ce\n; > GJRobotSprite::init @ 0x4b8776\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\nPUSH            {R0,R1,R4-R6,LR}                                       ; +0x0, 0x2e42c0\nMOV             R5, SP                                                 ; +0x2, 0x2e42c2\nLDR             R4, =(__stack_chk_guard_ptr - 0x2E42D0)                ; +0x4, 0x2e42c4\nLDR.W           R6, [R0,#0x204]                                        ; +0x6, 0x2e42c6\nMOV             R0, SP                                                 ; +0xa, 0x2e42ca\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x2e42cc\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x2e42ce\nLDR             R3, [R4]                                               ; +0x10, 0x2e42d0\nSTR             R3, [SP,#8+var_4]                                      ; +0x12, 0x2e42d2\nBL              sub_775C20                                             ; +0x14, 0x2e42d4\nMOV             R0, R6                                                 ; +0x18, 0x2e42d8\nMOV             R1, SP                                                 ; +0x1a, 0x2e42da\nBL              _ZN22SpriteAnimationManager12runAnimationESs; SpriteAnimationManager::runAnimation(std::string) ; +0x1c, 0x2e42dc\nMOV             R0, SP                                                 ; +0x20, 0x2e42e0\nBL              sub_774008                                             ; +0x22, 0x2e42e2\nLDR             R2, [SP,#8+var_4]                                      ; +0x26, 0x2e42e6\nLDR             R3, [R4]                                               ; +0x28, 0x2e42e8\nCMP             R2, R3                                                 ; +0x2a, 0x2e42ea\nBEQ             loc_2E42FC                                             ; +0x2c, 0x2e42ec\nBLX             __stack_chk_fail                                       ; +0x2e, 0x2e42ee\nMOV             R0, R5                                                 ; +0x32, 0x2e42f2\nBL              sub_774008                                             ; +0x34, 0x2e42f4\nBL              __cxa_end_cleanup                                      ; +0x38, 0x2e42f8\nADD             SP, SP, #8                                             ; +0x3c, 0x2e42fc\nPOP             {R4-R6,PC}                                             ; +0x3e, 0x2e42fe", "xrefs": ["CCAnimatedSprite::tweenToAnimationFinished @ 0x2e4324", "PlayerObject::animationFinished @ 0x33c474", "PlayerObject::animationFinished @ 0x33c4c0", "PlayerObject::animationFinished @ 0x33c4de", "PlayerObject::animationFinished @ 0x33c530", "PlayerObject::animationFinished @ 0x33c550", "PlayerObject::createRobot @ 0x33cd80", "PlayerObject::createSpider @ 0x33cf28", "PlayerObject::updateDashArt @ 0x33f90e", "PlayerObject::updateDashArt @ 0x33f95e", "PlayerObject::propellPlayer @ 0x341dbe", "PlayerObject::propellPlayer @ 0x341de0", "PlayerObject::playDynamicSpiderRun @ 0x342d0c", "PlayerObject::playDynamicSpiderRun @ 0x342d62", "PlayerObject::playDynamicSpiderRun @ 0x342d96", "PlayerObject::updateMove @ 0x342fee", "PlayerObject::updateMove @ 0x34383e", "PlayerObject::updateMove @ 0x34388c", "PlayerObject::stopDashing @ 0x34408e", "PlayerObject::hitGround @ 0x34443e", "PlayerObject::updateRobotAnimationSpeed @ 0x344832", "PlayerObject::toggleSpiderMode @ 0x346cfa", "PlayerObject::toggleRobotMode @ 0x3475d0", "PlayerObject::toggleRobotMode @ 0x3475e6", "PlayerObject::ringJump @ 0x34e5ce", "GJRobotSprite::init @ 0x4b8776"], "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"}