// // AudioEffectsLayer::updateTweenAction from 0x50a540 to 0x50a610 (208 bytes) // // 0 xrefs: // // 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:51:27 +0000 // int __fastcall AudioEffectsLayer::updateTweenAction(AudioEffectsLayer *this, float a2, const char *a3) { size_t v6; // r0 int v7; // r3 size_t v8; // r5 unsigned int v9; // r4 char *v10; // r0 char *v11; // r1 size_t v12; // r2 int v13; // r6 int result; // r0 int v15; // [sp+4h] [bp-Ch] BYREF size_t v16; // [sp+8h] [bp-8h] char *v17; // [sp+Ch] [bp-4h] int v18; // [sp+10h] [bp+0h] BYREF unsigned int v19; // [sp+14h] [bp+4h] char *v20; // [sp+18h] [bp+8h] v15 = 0; v16 = 0; v17 = nullptr; v6 = strlen(a3); std::string::__init(&v15, a3, v6); v18 = 0; v19 = 0; v20 = nullptr; std::string::__init(&v18, "audioScale", 0xAu); v7 = v15 & 1; if ( v7 ) v8 = v16; else v8 = (int)(unsigned __int8)v15 >> 1; if ( (v18 & 1) != 0 ) { v9 = v19; if ( !v7 ) { v10 = (char *)&v15 + 1; LABEL_9: v11 = v20; goto LABEL_12; } } else { v9 = (int)(unsigned __int8)v18 >> 1; if ( !v7 ) { v10 = (char *)&v15 + 1; goto LABEL_11; } } v10 = v17; if ( (v18 & 1) != 0 ) goto LABEL_9; LABEL_11: v11 = (char *)&v18 + 1; LABEL_12: v12 = v9; if ( v9 >= v8 ) v12 = v8; if ( !v12 || (v13 = memcmp(v10, v11, v12)) == 0 ) { if ( v8 < v9 ) v13 = -1; else v13 = v8 > v9; } std::string::~string((int)&v18); result = std::string::~string((int)&v15); if ( !v13 ) *((float *)this + 116) = a2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source