// // GJBaseGameLayer::getEasedAreaValue from 0x140330eb0 to 0x14033102b (379 bytes) // // 5 xrefs: // > GJBaseGameLayer::processAreaTransformGroupAction @ 0x1403320bd // > GJBaseGameLayer::processAreaRotateGroupAction @ 0x140332b71 // > GJBaseGameLayer::processAreaMoveGroupAction @ 0x140333382 // > GJBaseGameLayer::processAreaMoveGroupAction @ 0x1403333ed // > @ 0x14091f5ec // // This function is hookable on this platform (idp: pc, 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:30:32 +0000 // // local variable allocation has failed, the output may be wrong! __m128 __fastcall GJBaseGameLayer::getEasedAreaValue( __int64 a1, __int64 a2, __int64 a3, double a4, unsigned __int8 a5, int a6) { __int64 v6; // rdx __int128 v7; // xmm4 int v9; // r9d __int64 v10; // r11 unsigned __int8 v11; // cl int v12; // ecx __m128 result; // xmm0 int v14; // ecx float v15; // xmm1_4 int v16; // ecx v6 = *(_QWORD *)(a3 + 160); v7 = *(_OWORD *)&a4; if ( *(_BYTE *)(v6 + 1989) ) { if ( *(float *)&a4 <= 0.0099999998 || *(float *)&a4 >= 0.99000001 ) { v11 = a5; } else { v9 = *(_DWORD *)(a3 + 184); v10 = *(_QWORD *)(a3 + 200); if ( *(_DWORD *)(v10 + 4LL * a6) == v9 - 2 ) { v11 = 0; *(_DWORD *)(v10 + 4LL * a6) = v9; } else { v11 = a5; if ( *(_DWORD *)(v10 + 4LL * a6) == v9 - 1 ) v11 = 1; *(_DWORD *)(v10 + 4LL * a6) = v9 + v11; } } if ( v11 ) { v12 = *(_DWORD *)(v6 + 1944); if ( v12 != -1 ) { result = *(__m128 *)&a4; if ( v12 != -2 ) { LABEL_13: v14 = v12 - (int)(float)(result.m128_f32[0] * -100.0); v15 = (float)(int)(float)(*(float *)&a4 * 100.0) * 0.0099999998; LABEL_21: *(float *)&v7 = (float)((float)((float)(*(float *)&a4 - v15) * (float)(*(float *)(*(_QWORD *)(a1 + 12544) + 4LL * v14 + 4) - *(float *)(*(_QWORD *)(a1 + 12544) + 4LL * v14))) * 100.0) + *(float *)(*(_QWORD *)(a1 + 12544) + 4LL * v14); return (__m128)v7; } LABEL_19: GameToolbox::getEasedValue(result.m128_f32[0], *(_DWORD *)(v6 + 1936), *(float *)(v6 + 1940)); return result; } } else { v12 = *(_DWORD *)(v6 + 1956); if ( v12 != -1 ) { result = *(__m128 *)&a4; if ( v12 == -2 ) { GameToolbox::getEasedValue(*(float *)&a4, *(_DWORD *)(v6 + 1948), *(float *)(v6 + 1952)); return result; } goto LABEL_13; } } } else { v16 = *(_DWORD *)(v6 + 1944); if ( v16 != -1 ) { result = *(__m128 *)&a4; if ( v16 != -2 ) { v14 = v16 - (int)(float)(*(float *)&a4 * -100.0); v15 = (float)(int)(float)(*(float *)&a4 * 100.0) * 0.0099999998; goto LABEL_21; } goto LABEL_19; } } return (__m128)v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source