{"type": "func", "start": 6867148, "end": 6867344, "name": "CCAnimatedSprite::runAnimation", "pseudocode": "// \n// CCAnimatedSprite::runAnimation from 0x68c8cc to 0x68c990 (196 bytes)\n// \n// 27 xrefs:\n// > CCAnimatedSprite::tweenToAnimationFinished @ 0x68d378\n// > PlayerObject::updateDashArt @ 0x7552bc\n// > PlayerObject::updateDashArt @ 0x755598\n// > PlayerObject::propellPlayer @ 0x756380\n// > PlayerObject::propellPlayer @ 0x7563fc\n// > PlayerObject::playDynamicSpiderRun @ 0x7575c8\n// > PlayerObject::playDynamicSpiderRun @ 0x75761c\n// > PlayerObject::playDynamicSpiderRun @ 0x757704\n// > PlayerObject::updateMove @ 0x757984\n// > PlayerObject::updateMove @ 0x758434\n// > PlayerObject::updateMove @ 0x758830\n// > PlayerObject::stopDashing @ 0x758d20\n// > PlayerObject::toggleRobotMode @ 0x7593a0\n// > PlayerObject::toggleRobotMode @ 0x759450\n// > PlayerObject::toggleSpiderMode @ 0x7598f4\n// > PlayerObject::hitGround @ 0x75a744\n// > PlayerObject::animationFinished @ 0x75c708\n// > PlayerObject::animationFinished @ 0x75c7d8\n// > PlayerObject::animationFinished @ 0x75c80c\n// > PlayerObject::animationFinished @ 0x75c8c4\n// > PlayerObject::animationFinished @ 0x75c94c\n// > PlayerObject::updateRobotAnimationSpeed @ 0x75cb80\n// > PlayerObject::createRobot @ 0x75e26c\n// > PlayerObject::createSpider @ 0x75e580\n// > PlayerObject::ringJump @ 0x76a6b0\n// > GJRobotSprite::init @ 0xa3d29c\n// > <???> @ 0x94d20\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 12:50:33 +0000\n// \n\n__int64 __fastcall CCAnimatedSprite::runAnimation(__int64 a1, char *a2)\n{\n  char v3; // w1\n  __int64 v4; // x21\n  __int64 v5; // x0\n  __int64 v6; // x1\n  __int64 v8; // [xsp+30h] [xbp+30h] BYREF\n  __int64 v9; // [xsp+38h] [xbp+38h]\n  void *v10; // [xsp+40h] [xbp+40h]\n\n  v8 = 0;\n  v3 = *a2;\n  v9 = 0;\n  v10 = nullptr;\n  v4 = *(_QWORD *)(a1 + 648);\n  if ( (v3 & 1) != 0 )\n  {\n    std::string::__init(&v8, *((void **)a2 + 2), *((_QWORD *)a2 + 1));\n  }\n  else\n  {\n    v5 = *(_QWORD *)a2;\n    v6 = *((_QWORD *)a2 + 1);\n    v10 = *((void **)a2 + 2);\n    v8 = v5;\n    v9 = v6;\n  }\n  SpriteAnimationManager::runAnimation(v4, &v8);\n  if ( (v8 & 1) != 0 )\n    operator delete(v10);\n  return _stack_chk_guard;\n}", "assembly": "; \n; CCAnimatedSprite::runAnimation from 0x68c8cc to 0x68c990 (196 bytes)\n; \n; 27 xrefs:\n; > CCAnimatedSprite::tweenToAnimationFinished @ 0x68d378\n; > PlayerObject::updateDashArt @ 0x7552bc\n; > PlayerObject::updateDashArt @ 0x755598\n; > PlayerObject::propellPlayer @ 0x756380\n; > PlayerObject::propellPlayer @ 0x7563fc\n; > PlayerObject::playDynamicSpiderRun @ 0x7575c8\n; > PlayerObject::playDynamicSpiderRun @ 0x75761c\n; > PlayerObject::playDynamicSpiderRun @ 0x757704\n; > PlayerObject::updateMove @ 0x757984\n; > PlayerObject::updateMove @ 0x758434\n; > PlayerObject::updateMove @ 0x758830\n; > PlayerObject::stopDashing @ 0x758d20\n; > PlayerObject::toggleRobotMode @ 0x7593a0\n; > PlayerObject::toggleRobotMode @ 0x759450\n; > PlayerObject::toggleSpiderMode @ 0x7598f4\n; > PlayerObject::hitGround @ 0x75a744\n; > PlayerObject::animationFinished @ 0x75c708\n; > PlayerObject::animationFinished @ 0x75c7d8\n; > PlayerObject::animationFinished @ 0x75c80c\n; > PlayerObject::animationFinished @ 0x75c8c4\n; > PlayerObject::animationFinished @ 0x75c94c\n; > PlayerObject::updateRobotAnimationSpeed @ 0x75cb80\n; > PlayerObject::createRobot @ 0x75e26c\n; > PlayerObject::createSpider @ 0x75e580\n; > PlayerObject::ringJump @ 0x76a6b0\n; > GJRobotSprite::init @ 0xa3d29c\n; > <???> @ 0x94d20\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 12:50:33 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x68c8cc\nMOV             X2, X1                                                 ; +0x4, 0x68c8d0\nMOV             X29, SP                                                ; +0x8, 0x68c8d4\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0xc, 0x68c8d8\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x68c8dc\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x14, 0x68c8e0\nSTR             XZR, [X29,#0x50+var_20]                                ; +0x18, 0x68c8e4\nADD             X20, X29, #0x50+var_20                                 ; +0x1c, 0x68c8e8\nLDRB            W1, [X1]                                               ; +0x20, 0x68c8ec\nLDR             X3, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x68c8f0\nSTR             XZR, [X29,#0x50+var_18]                                ; +0x28, 0x68c8f4\nSTR             XZR, [X29,#0x50+var_10]                                ; +0x2c, 0x68c8f8\nLDR             X3, [X3]                                               ; +0x30, 0x68c8fc\nSTR             X3, [X29,#0x50+var_8]                                  ; +0x34, 0x68c900\nLDR             X21, [X0,#0x288]                                       ; +0x38, 0x68c904\nTBNZ            W1, #0, loc_68C95C                                     ; +0x3c, 0x68c908\nLDP             X0, X1, [X2]                                           ; +0x40, 0x68c90c\nLDR             X2, [X2,#0x10]                                         ; +0x44, 0x68c910\nSTR             X2, [X29,#0x50+var_10]                                 ; +0x48, 0x68c914\nSTP             X0, X1, [X29,#0x50+var_20]                             ; +0x4c, 0x68c918\nMOV             X0, X21                                                ; +0x50, 0x68c91c\nMOV             X1, X20                                                ; +0x54, 0x68c920\nBL              _ZN22SpriteAnimationManager12runAnimationENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; SpriteAnimationManager::runAnimation(std::string) ; +0x58, 0x68c924\nLDRB            W0, [X29,#0x50+var_20]                                 ; +0x5c, 0x68c928\nTBZ             W0, #0, loc_68C938                                     ; +0x60, 0x68c92c\nLDR             X0, [X29,#0x50+var_10]; void *                         ; +0x64, 0x68c930\nBL              _ZdlPv; operator delete(void *)                        ; +0x68, 0x68c934\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x6c, 0x68c938\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x70, 0x68c93c\nLDR             X0, [X19]                                              ; +0x74, 0x68c940\nCMP             X1, X0                                                 ; +0x78, 0x68c944\nB.NE            loc_68C970                                             ; +0x7c, 0x68c948\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x80, 0x68c94c\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x84, 0x68c950\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x88, 0x68c954\nRET                                                                    ; +0x8c, 0x68c958\nLDR             X1, [X2,#0x10]                                         ; +0x90, 0x68c95c\nMOV             X0, X20                                                ; +0x94, 0x68c960\nLDR             X2, [X2,#8]                                            ; +0x98, 0x68c964\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0x9c, 0x68c968\nB               loc_68C91C                                             ; +0xa0, 0x68c96c\nBL              .__stack_chk_fail                                      ; +0xa4, 0x68c970\nLDRB            W1, [X29,#0x50+var_20]                                 ; +0xa8, 0x68c974\nMOV             X19, X0                                                ; +0xac, 0x68c978\nTBZ             W1, #0, loc_68C988                                     ; +0xb0, 0x68c97c\nLDR             X0, [X29,#0x50+var_10]; void *                         ; +0xb4, 0x68c980\nBL              _ZdlPv; operator delete(void *)                        ; +0xb8, 0x68c984\nMOV             X0, X19                                                ; +0xbc, 0x68c988\nBL              _Unwind_Resume                                         ; +0xc0, 0x68c98c", "xrefs": ["CCAnimatedSprite::tweenToAnimationFinished @ 0x68d378", "PlayerObject::updateDashArt @ 0x7552bc", "PlayerObject::updateDashArt @ 0x755598", "PlayerObject::propellPlayer @ 0x756380", "PlayerObject::propellPlayer @ 0x7563fc", "PlayerObject::playDynamicSpiderRun @ 0x7575c8", "PlayerObject::playDynamicSpiderRun @ 0x75761c", "PlayerObject::playDynamicSpiderRun @ 0x757704", "PlayerObject::updateMove @ 0x757984", "PlayerObject::updateMove @ 0x758434", "PlayerObject::updateMove @ 0x758830", "PlayerObject::stopDashing @ 0x758d20", "PlayerObject::toggleRobotMode @ 0x7593a0", "PlayerObject::toggleRobotMode @ 0x759450", "PlayerObject::toggleSpiderMode @ 0x7598f4", "PlayerObject::hitGround @ 0x75a744", "PlayerObject::animationFinished @ 0x75c708", "PlayerObject::animationFinished @ 0x75c7d8", "PlayerObject::animationFinished @ 0x75c80c", "PlayerObject::animationFinished @ 0x75c8c4", "PlayerObject::animationFinished @ 0x75c94c", "PlayerObject::updateRobotAnimationSpeed @ 0x75cb80", "PlayerObject::createRobot @ 0x75e26c", "PlayerObject::createSpider @ 0x75e580", "PlayerObject::ringJump @ 0x76a6b0", "GJRobotSprite::init @ 0xa3d29c", "<???> @ 0x94d20"], "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"}