// // TouchControlEditLayer::valueDidChange from 0x7a4e00 to 0x7a4f40 (320 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:59:56 +0000 // GJUINode *__fastcall TouchControlEditLayer::valueDidChange(TouchControlEditLayer *this, int a2, float a3) { GJUINode *result; // r0 int v7; // r2 GameManager *v8; // r0 result = (GJUINode *)TouchControlEditLayer::activeNode(this); *((_BYTE *)this + 992) = 1; switch ( a2 ) { case 1: if ( result ) result = (GJUINode *)GJUINode::setOpacity(result, (unsigned __int8)(unsigned int)(float)(a3 * 255.0)); break; case 2: if ( result ) GJUINode::updateButtonScale(result, a3); result = (GJUINode *)TouchControlEditLayer::updateHandles(this); break; case 3: if ( result ) { GJUINode::toggleModeB(result, a3 != 0.0); goto LABEL_18; } break; case 4: if ( result ) *((_BYTE *)result + 318) = a3 != 0.0; break; case 5: if ( result ) { *((_BYTE *)result + 323) = a3 != 0.0; result = GJUINode::updateButtonFrames(result); } break; case 6: v7 = *((_DWORD *)this + 179); if ( v7 ) { *(_DWORD *)(v7 + 64) = *(_DWORD *)(v7 + 64) == 0; } else { v8 = (GameManager *)GameManager::sharedState(result); GameManager::toggleGameVariable(v8, "0113"); } result = (GJUINode *)TouchControlEditLayer::updateJumpGuide(this); break; case 7: TouchControlEditLayer::saveTarget(this); *((_BYTE *)this + 712) = a3 != 0.0; TouchControlEditLayer::clearNodes((int)this); TouchControlEditLayer::buildNodes(this); TouchControlEditLayer::updateHandles(this); TouchControlEditLayer::updateJumpGuide(this); TouchControlEditLayer::refreshHud(this); LABEL_18: result = (GJUINode *)TouchControlEditLayer::updateHudVisibility(this); break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source