{"type": "func", "start": 4298103376, "end": 4298103484, "name": "CCAnimatedSprite::runAnimation", "pseudocode": "// \n// CCAnimatedSprite::runAnimation from 0x1002fda50 to 0x1002fdabc (108 bytes)\n// \n// 26 xrefs:\n// > PlayerObject::createRobot @ 0x100218bcc\n// > PlayerObject::createSpider @ 0x100218eac\n// > PlayerObject::updateMove @ 0x10021badc\n// > PlayerObject::updateMove @ 0x10021c358\n// > PlayerObject::updateMove @ 0x10021c45c\n// > PlayerObject::stopDashing @ 0x10021cfe0\n// > PlayerObject::playDynamicSpiderRun @ 0x10021d104\n// > PlayerObject::playDynamicSpiderRun @ 0x10021d174\n// > PlayerObject::playDynamicSpiderRun @ 0x10021d1a4\n// > PlayerObject::hitGround @ 0x100223b5c\n// > PlayerObject::updateDashArt @ 0x10022601c\n// > PlayerObject::updateDashArt @ 0x1002260b0\n// > PlayerObject::ringJump @ 0x100228c40\n// > PlayerObject::toggleRobotMode @ 0x10022b208\n// > PlayerObject::toggleRobotMode @ 0x10022b2b8\n// > PlayerObject::toggleSpiderMode @ 0x10022b51c\n// > PlayerObject::propellPlayer @ 0x10022ce14\n// > PlayerObject::propellPlayer @ 0x10022ce50\n// > PlayerObject::updateRobotAnimationSpeed @ 0x10022d7b0\n// > PlayerObject::animationFinished @ 0x10022e830\n// > PlayerObject::animationFinished @ 0x10022e8b4\n// > PlayerObject::animationFinished @ 0x10022e8e4\n// > PlayerObject::animationFinished @ 0x10022e98c\n// > PlayerObject::animationFinished @ 0x10022e9c8\n// > GJRobotSprite::init @ 0x10023f7f8\n// > CCAnimatedSprite::tweenToAnimationFinished @ 0x1002fddd8\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 __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 0x1002fda50 to 0x1002fdabc (108 bytes)\n; \n; 26 xrefs:\n; > PlayerObject::createRobot @ 0x100218bcc\n; > PlayerObject::createSpider @ 0x100218eac\n; > PlayerObject::updateMove @ 0x10021badc\n; > PlayerObject::updateMove @ 0x10021c358\n; > PlayerObject::updateMove @ 0x10021c45c\n; > PlayerObject::stopDashing @ 0x10021cfe0\n; > PlayerObject::playDynamicSpiderRun @ 0x10021d104\n; > PlayerObject::playDynamicSpiderRun @ 0x10021d174\n; > PlayerObject::playDynamicSpiderRun @ 0x10021d1a4\n; > PlayerObject::hitGround @ 0x100223b5c\n; > PlayerObject::updateDashArt @ 0x10022601c\n; > PlayerObject::updateDashArt @ 0x1002260b0\n; > PlayerObject::ringJump @ 0x100228c40\n; > PlayerObject::toggleRobotMode @ 0x10022b208\n; > PlayerObject::toggleRobotMode @ 0x10022b2b8\n; > PlayerObject::toggleSpiderMode @ 0x10022b51c\n; > PlayerObject::propellPlayer @ 0x10022ce14\n; > PlayerObject::propellPlayer @ 0x10022ce50\n; > PlayerObject::updateRobotAnimationSpeed @ 0x10022d7b0\n; > PlayerObject::animationFinished @ 0x10022e830\n; > PlayerObject::animationFinished @ 0x10022e8b4\n; > PlayerObject::animationFinished @ 0x10022e8e4\n; > PlayerObject::animationFinished @ 0x10022e98c\n; > PlayerObject::animationFinished @ 0x10022e9c8\n; > GJRobotSprite::init @ 0x10023f7f8\n; > CCAnimatedSprite::tweenToAnimationFinished @ 0x1002fddd8\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1002fda50\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1002fda54\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1002fda58\nADD             X29, SP, #0x30                                         ; +0xc, 0x1002fda5c\nLDR             X19, [X0,#0x288]                                       ; +0x10, 0x1002fda60\nLDRSB           W8, [X1,#0x17]                                         ; +0x14, 0x1002fda64\nTBNZ            W8, #0x1F, loc_1002FDA80                               ; +0x18, 0x1002fda68\nLDR             Q0, [X1]                                               ; +0x1c, 0x1002fda6c\nSTR             Q0, [SP,#0x30+__p]                                     ; +0x20, 0x1002fda70\nLDR             X8, [X1,#0x10]                                         ; +0x24, 0x1002fda74\nSTR             X8, [SP,#0x30+var_20]                                  ; +0x28, 0x1002fda78\nB               loc_1002FDA90                                          ; +0x2c, 0x1002fda7c\nLDP             X8, X2, [X1]                                           ; +0x30, 0x1002fda80\nMOV             X0, SP; __dst                                          ; +0x34, 0x1002fda84\nMOV             X1, X8; __src                                          ; +0x38, 0x1002fda88\nBL              sub_1000097D0                                          ; +0x3c, 0x1002fda8c\nMOV             X1, SP                                                 ; +0x40, 0x1002fda90\nMOV             X0, X19                                                ; +0x44, 0x1002fda94\nBL              SpriteAnimationManager__runAnimation                   ; +0x48, 0x1002fda98\nLDRSB           W8, [SP,#0x30+var_20+7]                                ; +0x4c, 0x1002fda9c\nTBZ             W8, #0x1F, loc_1002FDAAC                               ; +0x50, 0x1002fdaa0\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x54, 0x1002fdaa4\nBL              __ZdlPv; operator delete(void *)                       ; +0x58, 0x1002fdaa8\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x5c, 0x1002fdaac\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x60, 0x1002fdab0\nADD             SP, SP, #0x40 ; '@'                                    ; +0x64, 0x1002fdab4\nRET                                                                    ; +0x68, 0x1002fdab8", "xrefs": ["PlayerObject::createRobot @ 0x100218bcc", "PlayerObject::createSpider @ 0x100218eac", "PlayerObject::updateMove @ 0x10021badc", "PlayerObject::updateMove @ 0x10021c358", "PlayerObject::updateMove @ 0x10021c45c", "PlayerObject::stopDashing @ 0x10021cfe0", "PlayerObject::playDynamicSpiderRun @ 0x10021d104", "PlayerObject::playDynamicSpiderRun @ 0x10021d174", "PlayerObject::playDynamicSpiderRun @ 0x10021d1a4", "PlayerObject::hitGround @ 0x100223b5c", "PlayerObject::updateDashArt @ 0x10022601c", "PlayerObject::updateDashArt @ 0x1002260b0", "PlayerObject::ringJump @ 0x100228c40", "PlayerObject::toggleRobotMode @ 0x10022b208", "PlayerObject::toggleRobotMode @ 0x10022b2b8", "PlayerObject::toggleSpiderMode @ 0x10022b51c", "PlayerObject::propellPlayer @ 0x10022ce14", "PlayerObject::propellPlayer @ 0x10022ce50", "PlayerObject::updateRobotAnimationSpeed @ 0x10022d7b0", "PlayerObject::animationFinished @ 0x10022e830", "PlayerObject::animationFinished @ 0x10022e8b4", "PlayerObject::animationFinished @ 0x10022e8e4", "PlayerObject::animationFinished @ 0x10022e98c", "PlayerObject::animationFinished @ 0x10022e9c8", "GJRobotSprite::init @ 0x10023f7f8", "CCAnimatedSprite::tweenToAnimationFinished @ 0x1002fddd8"], "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"}