// // TouchControlEditLayer::getValue from 0x10097ab80 to 0x10097ac96 (278 bytes) // // 1 xrefs: // > @ 0x100bd1760 // // 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 12:38:57 +0000 // float __fastcall TouchControlEditLayer::getValue(__int64 a1, int a2) { char *v3; // rdi float result; // xmm0_4 __int64 v5; // rsi char **v6; // rcx __int64 v7; // rax __int64 v8; // rax v3 = *(char **)(a1 + 1248); if ( v3 ) { result = 0.0; v5 = (unsigned int)(a2 - 1); } else { v6 = *(char ***)(a1 + 1224); if ( v6 == *(char ***)(a1 + 1232) ) { v3 = nullptr; result = 0.0; v5 = (unsigned int)(a2 - 1); if ( (unsigned int)v5 > 6 ) return result; } else { v3 = *v6; result = 0.0; v5 = (unsigned int)(a2 - 1); if ( (unsigned int)v5 > 6 ) return result; } } switch ( v5 ) { case 0LL: if ( !v3 ) goto LABEL_22; result = (float)(unsigned __int8)GJUINode::getOpacity((__int64)v3) / 255.0; break; case 1LL: if ( v3 ) GJUINode::getButtonScale((__int64)v3); else LABEL_22: result = 1.0; break; case 2LL: if ( v3 ) result = (float)v3[381]; break; case 3LL: if ( v3 ) result = (float)v3[382]; break; case 4LL: if ( v3 ) result = (float)v3[387]; break; case 5LL: v7 = *(_QWORD *)(a1 + 1016); if ( v7 ) { result = (float)*(int *)(v7 + 68); } else { v8 = GameManager::sharedState(); result = (float)(unsigned __int8)GameManager::getGameVariable(v8, "0113"); } break; case 6LL: result = (float)*(char *)(a1 + 1012); break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source