// // PlayerObject::animationFinished from 0x33c410 to 0x33c588 (376 bytes) // // 1 xrefs: // > `non-virtual thunk to'PlayerObject::animationFinished @ 0x33c5b4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void PlayerObject::animationFinished(PlayerObject *a1, const char *a2) { int v4; // r11 GJRobotSprite *v5; // r6 int v6; // r11 GJRobotSprite *v7; // r8 GJSpiderSprite *v8; // r6 int v9; // r8 GJRobotSprite *m_robotSprite; // r6 GJSpiderSprite *m_spiderSprite; // r6 _BYTE v12[4]; // [sp+Ch] [bp-10h] BYREF _BYTE v13[4]; // [sp+10h] [bp-Ch] BYREF sub_776584((int)v12, (char *)a2); sub_776584((int)v13, "jump_start"); v4 = sub_774DBC(v12, v13); sub_774008(v13); sub_774008(v12); if ( v4 ) { sub_776584((int)v12, (char *)a2); sub_776584((int)v13, "fall_start"); v6 = sub_774DBC(v12, v13); sub_774008(v13); sub_774008(v12); if ( v6 ) { sub_776584((int)v12, (char *)a2); sub_776584((int)v13, "idle02"); v9 = sub_774DBC(v12, v13); sub_774008(v13); sub_774008(v12); if ( v9 ) return; if ( a1->m_isRobot ) { m_robotSprite = a1->m_robotSprite; sub_776584((int)v13, "idle01"); CCAnimatedSprite::runAnimation((int)m_robotSprite, (int)v13); } else { if ( !a1->m_isSpider ) return; m_spiderSprite = a1->m_spiderSprite; sub_776584((int)v13, "idle01"); CCAnimatedSprite::runAnimation((int)m_spiderSprite, (int)v13); } } else { v7 = a1->m_robotSprite; sub_776584((int)v13, "fall_loop"); CCAnimatedSprite::runAnimation((int)v7, (int)v13); sub_774008(v13); v8 = a1->m_spiderSprite; sub_776584((int)v13, "fall_loop"); CCAnimatedSprite::runAnimation((int)v8, (int)v13); } } else { v5 = a1->m_robotSprite; sub_776584((int)v13, "jump_loop"); CCAnimatedSprite::runAnimation((int)v5, (int)v13); } sub_774008(v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source