// // sub_4E6B4C from 0x4e6b4c to 0x4e6be4 (152 bytes) // // 4 xrefs: // > GJChestSprite::switchToState @ 0x4e7d40 // > GJChestSprite::switchToState @ 0x4e7d66 // > GJChestSprite::switchToState @ 0x4e7f98 // > GJChestSprite::switchToState @ 0x4e7fbe // // 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 // int __fastcall sub_4E6B4C(int a1, char *a2, char *a3, int a4) { int i; // r2 int v7; // r8 char *v9; // [sp+4h] [bp-Ch] BYREF _DWORD v10[2]; // [sp+8h] [bp-8h] BYREF v9 = a2; v10[0] = a3; v10[1] = a4; sub_776584(a1, a2); sub_776584((int)&v9, "_001"); sub_776584((int)v10, a3); for ( i = 0; ; i = *(_DWORD *)(v10[0] - 12) + v7 ) { v7 = sub_774834(a1, &v9, i); if ( v7 == -1 ) break; sub_776454(a1, v7, *((_DWORD *)v9 - 3), v10); } sub_774008(v10); sub_774008(&v9); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source