// // GJBaseGameLayer::stopCustomEnterEffect from 0x10027d018 to 0x10027d194 (380 bytes) // // 2 xrefs: // > GJBaseGameLayer::stopCustomEnterEffect_1 @ 0x10027cfe0 // > GJBaseGameLayer::stopCustomEnterEffect_1 @ 0x10027d008 // // 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 11:01:53 +0000 // void __fastcall GJBaseGameLayer::stopCustomEnterEffect(__int64 a1, __int64 a2, int a3) { unsigned int v6; // w8 unsigned __int64 v7; // x0 _QWORD *v8; // x21 __int64 v9; // x8 __int64 v10; // x22 int v11; // w9 unsigned __int64 v12; // x10 __int64 v13; // x1 __int64 v14; // x8 __int64 v15; // x1 __int64 v16; // x24 __int64 v17; // x9 unsigned int v18; // [xsp+0h] [xbp-40h] BYREF unsigned int *v19; // [xsp+8h] [xbp-38h] BYREF v6 = *(_DWORD *)(a2 + 2032); if ( v6 > 0x64 ) v6 = 0; v18 = v6; v19 = &v18; if ( a3 ) v7 = a1 + 1352; else v7 = a1 + 1392; v8 = sub_1001A22B0(v7, (int *)&v18, (__int64)&unk_100763014, &v19); v9 = v8[3]; v10 = v8[4]; if ( v10 != v9 ) { v11 = *(_DWORD *)(a2 + 1992); if ( !v11 ) { LODWORD(v19) = v18; if ( v18 <= 0x64 ) { v14 = 1392; if ( a3 ) v14 = 1352; sub_1002A74D0(a1 + v14, &v19); } LABEL_22: v17 = 1456; if ( a3 ) v17 = 1432; *(_DWORD *)(*(_QWORD *)(a1 + v17) + 4LL * (int)v18) = -2; return; } v12 = 0xEEEEEEEEEEEEEEEFLL * ((v10 - v9) >> 4); if ( v12 <= 1 ) v12 = 1; v13 = v9 + 240; while ( *(_DWORD *)(*(_QWORD *)(v13 - 72) + 1992LL) != v11 ) { v13 += 240; if ( !--v12 ) goto LABEL_21; } sub_1002A6FE4(&v19, v13); v10 = v15; v16 = v8[4]; if ( v16 != v15 ) { do { v16 -= 240; sub_10014DDE0((__int64)(v8 + 3), v16); } while ( v16 != v10 ); } v8[4] = v10; v9 = v8[3]; LABEL_21: if ( v10 == v9 ) goto LABEL_22; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source