// // sub_14024A5E0 from 0x14024a5e0 to 0x14024a6e9 (265 bytes) // // 6 xrefs: // > GJBaseGameLayer::gameEventTriggered @ 0x14023206e // > GJBaseGameLayer::activateEventTrigger @ 0x1402321e4 // > GJBaseGameLayer::activateEventTrigger @ 0x1402322c2 // > GJEffectManager::registerRotationCommand @ 0x14025f1f1 // > GJEffectManager::registerRotationCommand @ 0x14025f20f // > @ 0x1406ceb2c // // 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 // // Hidden C++ exception states: #wind=1 __int64 __fastcall sub_14024A5E0(unsigned __int64 a1, int *a2) { __int64 *v3; // rdi __int64 v4; // r8 __int64 v5; // rax int v6; // r9d __int64 v7; // rbx _QWORD *v8; // rax __int128 v10; // [rsp+20h] [rbp-38h] BYREF __int128 v11; // [rsp+30h] [rbp-28h] v3 = (__int64 *)a1; v4 = *(_QWORD *)a1; v5 = *(_QWORD *)(*(_QWORD *)a1 + 8LL); *(_QWORD *)&v11 = v5; DWORD2(v11) = 0; if ( !*(_BYTE *)(v5 + 25) ) { v6 = *a2; do { *(_QWORD *)&v11 = v5; if ( *(_DWORD *)(v5 + 32) < v6 || *(_DWORD *)(v5 + 32) <= v6 && (a1 = (unsigned int)a2[1], *(_DWORD *)(v5 + 36) < (int)a1) ) { DWORD2(v11) = 0; v5 = *(_QWORD *)(v5 + 16); } else { DWORD2(v11) = 1; v4 = v5; v5 = *(_QWORD *)v5; } } while ( !*(_BYTE *)(v5 + 25) ); } if ( *(_BYTE *)(v4 + 25) || *a2 < *(_DWORD *)(v4 + 32) || *a2 <= *(_DWORD *)(v4 + 32) && a2[1] < *(_DWORD *)(v4 + 36) ) { if ( v3[1] == 0x3FFFFFFFFFFFFFFLL ) sub_140052E40(a1, a2, v4); v7 = *v3; v10 = (unsigned __int64)v3; v8 = operator new(0x40u); v8[4] = *(_QWORD *)a2; v8[5] = 0; v8[6] = 0; v8[7] = 0; *v8 = v7; v8[1] = v7; v8[2] = v7; *((_WORD *)v8 + 12) = 0; v10 = v11; v4 = sub_1400636D0(v3, (__int64)&v10, (__int64)v8); } return v4 + 40; }
GD Web Decomp Icon

GD Web Decomp

Raw Source