// // AnimatedGameObject::animationForID from 0x4eb81c to 0x4eb9ac (400 bytes) // // 4 xrefs: // > AnimatedGameObject::playAnimation @ 0x4f5e5a // > SetupAnimationPopup::init @ 0x6247ca // > SetupAnimationPopup::init @ 0x62484a // > SetupAnimationPopup::init @ 0x6248ca // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:51:08 +0000 // AnimatedGameObject *__fastcall AnimatedGameObject::animationForID(AnimatedGameObject *this, int a2, int a3) { size_t v4; // r2 const char *v5; // r1 switch ( a3 ) { case 1584: switch ( a2 ) { case 0: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "idle01"; *((_DWORD *)this + 2) = 0; goto LABEL_31; case 1: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "idle02"; *((_DWORD *)this + 2) = 0; goto LABEL_31; case 2: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "idle03"; *((_DWORD *)this + 2) = 0; LABEL_31: v4 = 6; goto LABEL_35; case 3: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "attack01"; *((_DWORD *)this + 2) = 0; goto LABEL_29; case 4: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "attack02"; *((_DWORD *)this + 2) = 0; LABEL_29: v4 = 8; break; case 5: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "attack02_end"; *((_DWORD *)this + 2) = 0; LABEL_33: v4 = 12; break; case 6: v4 = 5; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "sleep"; *((_DWORD *)this + 2) = 0; break; case 7: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "sleep_loop"; *((_DWORD *)this + 2) = 0; LABEL_27: v4 = 10; break; case 8: v4 = 9; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "sleep_end"; *((_DWORD *)this + 2) = 0; break; case 9: v4 = 13; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "attack02_loop"; *((_DWORD *)this + 2) = 0; break; default: goto LABEL_34; } break; case 2012: switch ( a2 ) { case 0: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "idle01"; *((_DWORD *)this + 2) = 0; goto LABEL_31; case 1: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "idle02"; *((_DWORD *)this + 2) = 0; goto LABEL_31; case 2: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "toAttack01"; *((_DWORD *)this + 2) = 0; goto LABEL_27; case 3: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "attack01"; *((_DWORD *)this + 2) = 0; goto LABEL_29; case 4: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "attack02"; *((_DWORD *)this + 2) = 0; goto LABEL_29; case 5: *(_DWORD *)this = 0; v5 = "toAttack03"; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; goto LABEL_27; case 6: *(_DWORD *)this = 0; v5 = "attack03"; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; goto LABEL_29; case 7: *(_DWORD *)this = 0; v5 = "idle03"; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; goto LABEL_31; case 8: *(_DWORD *)this = 0; v5 = "fromAttack03"; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; goto LABEL_33; default: goto LABEL_34; } case 918: switch ( a2 ) { case 0: v4 = 4; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "bite"; *((_DWORD *)this + 2) = 0; break; case 1: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "attack01"; *((_DWORD *)this + 2) = 0; goto LABEL_29; case 2: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "attack01_end"; *((_DWORD *)this + 2) = 0; goto LABEL_33; case 3: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v5 = "idle01"; *((_DWORD *)this + 2) = 0; goto LABEL_31; default: goto LABEL_34; } break; default: LABEL_34: v4 = 0; *(_DWORD *)this = 0; v5 = (const char *)&unk_B6B226; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; break; } LABEL_35: std::string::__init((int *)this, v5, v4); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source