// // UIOptionsLayer::valueDidChange from 0xa2e7dc to 0xa2ea28 (588 bytes) // // 2 xrefs: // > @ 0xfba10 // > @ 0x14844d0 // // 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:46 +0000 // __int64 __fastcall UIOptionsLayer::valueDidChange(__int64 this, int a2, float a3) { __int64 v3; // x19 GJUINode *v4; // x0 GJUINode *v5; // x0 GJUINode *v6; // x0 GJUINode *v7; // x0 __int64 v8; // x0 unsigned __int8 v9; // w1 GJUINode *v10; // x0 __int64 v11; // x0 GameManager *v12; // x0 v3 = this; switch ( a2 ) { case -28: *(_BYTE *)(*(_QWORD *)(this + 1024) + 387LL) = a3 != 0.0; return GJUINode::updateButtonFrames(*(GJUINode **)(this + 1024)); case -27: *(_BYTE *)(*(_QWORD *)(this + 1016) + 387LL) = a3 != 0.0; return GJUINode::updateButtonFrames(*(GJUINode **)(this + 1016)); case -26: v12 = (GameManager *)GameManager::sharedState((GameManager *)this); return GameManager::toggleGameVariable(v12, "0113"); case -25: this = *(_QWORD *)(this + 1024); *(_BYTE *)(this + 382) = a3 != 0.0; return this; case -24: this = *(_QWORD *)(this + 1016); *(_BYTE *)(this + 382) = a3 != 0.0; return this; case -23: (*(void (__fastcall **)(__int64, _QWORD, float))(*(_QWORD *)this + 1368LL))(this, 0, a3); v11 = UIOptionsLayer::create((UIOptionsLayer *)(*(unsigned __int8 *)(v3 + 1012) ^ 1u)); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 1312LL))(v11); case -22: this = *(_QWORD *)(this + 1024); *(float *)(this + 376) = a3; return this; case -21: this = *(_QWORD *)(this + 1016); *(float *)(this + 376) = a3; return this; case -20: v10 = *(GJUINode **)(this + 1024); return GJUINode::updateDragRadius(v10, a3); case -19: v10 = *(GJUINode **)(this + 1016); return GJUINode::updateDragRadius(v10, a3); case -18: v8 = *(_QWORD *)(this + 1024); v9 = a3 != 0.0; return GJUINode::toggleModeB(v8, v9); case -17: v8 = *(_QWORD *)(this + 1016); v9 = a3 != 0.0; return GJUINode::toggleModeB(v8, v9); case -16: v7 = *(GJUINode **)(this + 1040); return GJUINode::setOpacity(v7, (unsigned int)(float)(a3 * 255.0)); case -15: v7 = *(GJUINode **)(this + 1032); return GJUINode::setOpacity(v7, (unsigned int)(float)(a3 * 255.0)); case -14: v7 = *(GJUINode **)(this + 1024); return GJUINode::setOpacity(v7, (unsigned int)(float)(a3 * 255.0)); case -13: v7 = *(GJUINode **)(this + 1016); return GJUINode::setOpacity(v7, (unsigned int)(float)(a3 * 255.0)); case -12: v6 = *(GJUINode **)(this + 1040); return GJUINode::updateButtonScale(v6, a3); case -11: v6 = *(GJUINode **)(this + 1032); return GJUINode::updateButtonScale(v6, a3); case -10: v6 = *(GJUINode **)(this + 1024); return GJUINode::updateButtonScale(v6, a3); case -9: v6 = *(GJUINode **)(this + 1016); return GJUINode::updateButtonScale(v6, a3); case -8: v5 = *(GJUINode **)(this + 1040); return GJUINode::updateHeight(v5, a3); case -7: v5 = *(GJUINode **)(this + 1032); return GJUINode::updateHeight(v5, a3); case -6: v5 = *(GJUINode **)(this + 1024); return GJUINode::updateHeight(v5, a3); case -5: v5 = *(GJUINode **)(this + 1016); return GJUINode::updateHeight(v5, a3); case -4: v4 = *(GJUINode **)(this + 1040); goto LABEL_5; case -3: v4 = *(GJUINode **)(this + 1032); goto LABEL_5; case -2: v4 = *(GJUINode **)(this + 1024); goto LABEL_5; case -1: v4 = *(GJUINode **)(this + 1016); LABEL_5: this = GJUINode::updateWidth(v4, a3); break; default: return this; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source