// // SetupShaderEffectPopup::zLayerToString from 0x68800c to 0x6880fa (238 bytes) // // 2 xrefs: // > SetupGradientPopup::init @ 0x687a08 // > SetupShaderEffectPopup::setupShaderTrigger @ 0x68dafa // // 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:56:06 +0000 // SetupShaderEffectPopup *__fastcall SetupShaderEffectPopup::zLayerToString(SetupShaderEffectPopup *this, int a2) { const char *v3; // r1 size_t v4; // r2 switch ( a2 ) { case 1: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "BG"; *((_DWORD *)this + 2) = 0; goto LABEL_17; case 2: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "MG"; *((_DWORD *)this + 2) = 0; goto LABEL_17; case 3: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "B5"; *((_DWORD *)this + 2) = 0; goto LABEL_17; case 4: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "B4"; *((_DWORD *)this + 2) = 0; goto LABEL_17; case 5: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "B3"; *((_DWORD *)this + 2) = 0; goto LABEL_17; case 6: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "B2"; *((_DWORD *)this + 2) = 0; goto LABEL_17; case 7: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "B1"; *((_DWORD *)this + 2) = 0; goto LABEL_17; case 8: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "P"; *((_DWORD *)this + 2) = 0; goto LABEL_15; case 9: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "T1"; *((_DWORD *)this + 2) = 0; goto LABEL_17; case 10: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "T2"; *((_DWORD *)this + 2) = 0; goto LABEL_17; case 11: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "T3"; *((_DWORD *)this + 2) = 0; goto LABEL_17; case 12: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "T4"; *((_DWORD *)this + 2) = 0; goto LABEL_17; case 13: *(_DWORD *)this = 0; v3 = "G"; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; LABEL_15: v4 = 1; break; case 14: *(_DWORD *)this = 0; v3 = "UI"; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; LABEL_17: v4 = 2; break; case 15: v4 = 3; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "Max"; *((_DWORD *)this + 2) = 0; break; default: v4 = 0; *(_DWORD *)this = 0; v3 = (const char *)&unk_B6B226; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; break; } std::string::__init((int *)this, v3, v4); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source