// // GJBaseGameLayer::generateEnterEasingBuffer from 0x5a7284 to 0x5a7356 (210 bytes) // // 2 xrefs: // > GJBaseGameLayer::generateEnterEasingBuffers @ 0x5a7370 // > GJBaseGameLayer::generateEnterEasingBuffers @ 0x5a7384 // // 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:53:21 +0000 // int __fastcall GJBaseGameLayer::generateEnterEasingBuffer(GJBaseGameLayer *this, int a2, float a3) { int result; // r0 int v7; // r4 int i; // r10 float EasedValue; // r0 float *v10; // r3 unsigned int v11; // r2 int v12; // [sp+4h] [bp-Ch] BYREF float v13; // [sp+8h] [bp-8h] BYREF result = GJBaseGameLayer::getEnterEasingKey(this, a2, a3); v12 = result; if ( result >= 0 ) { if ( std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_DWORD *)this + 2639, (unsigned int *)&v12) ) { return *std::unordered_map::operator[]((int)this + 10556, (unsigned int *)&v12); } else { *std::unordered_map::operator[]((int)this + 10556, (unsigned int *)&v12) = *((_DWORD *)this + 2644); v7 = *((_DWORD *)this + 2644); for ( i = v7; i <= v7 + 100; ++i ) { EasedValue = GameToolbox::getEasedValue( COERCE_GAMETOOLBOX_((float)(i - v7) / 100.0), *(float *)&a2, a3, COERCE_FLOAT(i - v7)); v10 = *((float **)this + 2637); v11 = *((_DWORD *)this + 2638); v13 = EasedValue; if ( (unsigned int)v10 >= v11 ) { std::vector::__push_back_slow_path((const void **)this + 2636, &v13); } else { if ( v10 ) *v10 = EasedValue; *((_DWORD *)this + 2637) += 4; } ++*((_DWORD *)this + 2644); } return v7; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source