// // UIOptionsLayer::getValue from 0xa1e5e8 to 0xa1e7a0 (440 bytes) // // 2 xrefs: // > @ 0x104ab8 // > @ 0x14844d8 // // This function is hookable on this platform (idp: arm, 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:59:39 +0000 // float __fastcall UIOptionsLayer::getValue(UIOptionsLayer *this, int a2) { float result; // s0 GJUINode *v3; // x0 GameManager *v4; // x0 switch ( a2 ) { case -28: return (float)*(unsigned __int8 *)(*((_QWORD *)this + 128) + 387LL); case -27: return (float)*(unsigned __int8 *)(*((_QWORD *)this + 127) + 387LL); case -26: v4 = (GameManager *)GameManager::sharedState(this); return (float)(unsigned __int8)GameManager::getGameVariable(v4, "0113"); case -25: return (float)*(unsigned __int8 *)(*((_QWORD *)this + 128) + 382LL); case -24: return (float)*(unsigned __int8 *)(*((_QWORD *)this + 127) + 382LL); case -23: return (float)*((unsigned __int8 *)this + 1012); case -22: return *(float *)(*((_QWORD *)this + 128) + 376LL); case -21: return *(float *)(*((_QWORD *)this + 127) + 376LL); case -20: return *(float *)(*((_QWORD *)this + 128) + 372LL); case -19: return *(float *)(*((_QWORD *)this + 127) + 372LL); case -18: return (float)*(unsigned __int8 *)(*((_QWORD *)this + 128) + 381LL); case -17: return (float)*(unsigned __int8 *)(*((_QWORD *)this + 127) + 381LL); case -16: v3 = *((GJUINode **)this + 130); goto LABEL_18; case -15: v3 = *((GJUINode **)this + 129); goto LABEL_18; case -14: v3 = *((GJUINode **)this + 128); goto LABEL_18; case -13: v3 = *((GJUINode **)this + 127); LABEL_18: result = (float)(unsigned __int8)GJUINode::getOpacity(v3) / 255.0; break; case -12: GJUINode::getButtonScale(*((GJUINode **)this + 130)); break; case -11: GJUINode::getButtonScale(*((GJUINode **)this + 129)); break; case -10: GJUINode::getButtonScale(*((GJUINode **)this + 128)); break; case -9: GJUINode::getButtonScale(*((GJUINode **)this + 127)); break; case -8: result = *(float *)(*((_QWORD *)this + 130) + 348LL); break; case -7: result = *(float *)(*((_QWORD *)this + 129) + 348LL); break; case -6: result = *(float *)(*((_QWORD *)this + 128) + 348LL); break; case -5: result = *(float *)(*((_QWORD *)this + 127) + 348LL); break; case -4: result = *(float *)(*((_QWORD *)this + 130) + 344LL); break; case -3: result = *(float *)(*((_QWORD *)this + 129) + 344LL); break; case -2: result = *(float *)(*((_QWORD *)this + 128) + 344LL); break; case -1: result = *(float *)(*((_QWORD *)this + 127) + 344LL); break; default: result = 0.0; break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source