// // TouchControlEditLayer::getValue from 0x7a29c0 to 0x7a2a5a (154 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:55 +0000 // int __fastcall TouchControlEditLayer::getValue(TouchControlEditLayer *this, int a2) { unsigned __int8 *active; // r0 float v5; // s15 int v7; // r3 int GameVariable; // s15 int v9; // r3 GameManager *v10; // r0 active = (unsigned __int8 *)TouchControlEditLayer::activeNode(this); switch ( a2 ) { case 1: if ( !active ) goto LABEL_18; v5 = (float)GJUINode::getOpacity((GJUINode *)active) / 255.0; return LODWORD(v5); case 2: if ( active ) return GJUINode::getButtonScale((GJUINode *)active); LABEL_18: v5 = 1.0; return LODWORD(v5); case 3: if ( !active ) goto LABEL_19; v7 = active[317]; goto LABEL_10; case 4: if ( !active ) goto LABEL_19; v7 = active[318]; goto LABEL_10; case 5: if ( !active ) goto LABEL_19; v7 = active[323]; LABEL_10: GameVariable = v7; LABEL_15: v5 = (float)GameVariable; return LODWORD(v5); case 6: v9 = *((_DWORD *)this + 179); if ( v9 ) { GameVariable = *(_DWORD *)(v9 + 64); } else { v10 = (GameManager *)GameManager::sharedState((GameManager *)active); GameVariable = GameManager::getGameVariable(v10, "0113"); } goto LABEL_15; case 7: v5 = (float)*((unsigned __int8 *)this + 712); return LODWORD(v5); default: LABEL_19: v5 = 0.0; return LODWORD(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source