// // GJBaseGameLayer::triggerAreaEffectAnimation from 0x9a4bec to 0x9a4dfc (528 bytes) // // 2 xrefs: // > GJBaseGameLayer::triggerAreaEffect @ 0x9ca568 // > @ 0xa5430 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:58:09 +0000 // __int64 __fastcall GJBaseGameLayer::triggerAreaEffectAnimation(GJBaseGameLayer *this, EnterEffectObject *a2) { int v4; // w22 int v5; // w20 char *v6; // x26 char *v7; // x24 int v8; // w0 __int64 result; // x0 EnterEffectInstance *v10; // x19 EnterEffectInstance *v11; // x21 float v12; // s0 unsigned int *v13; // x1 __int64 *v14; // x21 __int64 *v15; // x24 __int64 v16; // x20 EnterEffectInstance *v17; // x19 EnterEffectInstance *v18; // x22 float v19; // s0 v4 = 1; v5 = *((_DWORD *)a2 + 366); if ( *((_BYTE *)a2 + 2036) ) { v6 = (char *)this + 1576; v7 = (char *)this + 1480; v8 = -1; LABEL_3: switch ( v8 ) { case 0: result = (__int64)this + 1504; goto LABEL_5; case 1: result = (__int64)this + 1528; goto LABEL_5; case 2: result = (__int64)this + 1552; LABEL_5: if ( result ) goto LABEL_6; goto LABEL_12; case 3: result = (__int64)v6; if ( !v6 ) return result; goto LABEL_6; default: goto LABEL_13; } while ( 1 ) { LABEL_13: result = (__int64)v7; if ( v7 ) { LABEL_6: v10 = *(EnterEffectInstance **)result; v11 = *(EnterEffectInstance **)(result + 8); if ( *(EnterEffectInstance **)result != v11 ) { do { result = *(unsigned int *)(*((_QWORD *)v10 + 21) + 1992LL); if ( v5 == (_DWORD)result ) { v12 = *((double *)this + 115); result = EnterEffectInstance::loadTransitions(v10, a2, v12); if ( v5 > 0 ) break; } v10 = (EnterEffectInstance *)((char *)v10 + 240); } while ( v11 != v10 ); } if ( v4 == 5 ) return result; } else if ( v4 == 5 ) { return result; } LABEL_12: v8 = ++v4 - 2; if ( (unsigned int)(v4 - 2) <= 3 ) goto LABEL_3; } } result = (__int64)GJBaseGameLayer::getGroup(this, v5); if ( result ) { v13 = *(unsigned int **)(result + 56); result = *v13; if ( (_DWORD)result ) { v14 = *((__int64 **)v13 + 2); v15 = &v14[(unsigned int)result - 1]; if ( v14 <= v15 ) { v16 = *v14; if ( *v14 ) { result = *(unsigned int *)(v16 + 928); if ( (_DWORD)result == 45 ) goto LABEL_29; while ( v15 >= ++v14 ) { v16 = *v14; if ( !*v14 ) break; result = *(unsigned int *)(v16 + 928); if ( (_DWORD)result == 45 ) { LABEL_29: result = (unsigned int)(*(_DWORD *)(v16 + 1028) - 3006); switch ( *(_DWORD *)(v16 + 1028) ) { case 0xBBE: result = (__int64)this + 1480; goto LABEL_31; case 0xBBF: result = (__int64)this + 1504; goto LABEL_31; case 0xBC0: result = (__int64)this + 1528; goto LABEL_31; case 0xBC1: result = (__int64)this + 1552; goto LABEL_31; case 0xBC2: result = (__int64)this + 1576; LABEL_31: if ( result ) { v17 = *(EnterEffectInstance **)result; v18 = *(EnterEffectInstance **)(result + 8); if ( *(EnterEffectInstance **)result != v18 ) { do { result = *((_QWORD *)v17 + 21); if ( v16 == result ) { v19 = *((double *)this + 115); result = EnterEffectInstance::loadTransitions(v17, a2, v19); } v17 = (EnterEffectInstance *)((char *)v17 + 240); } while ( v18 != v17 ); } } break; default: continue; } } } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source