// // SetupOpacityPopup::textChanged from 0x100027430 to 0x10002758c (348 bytes) // // 2 xrefs: // > sub_100027610 @ 0x100027614 // > @ 0x1008b0218 // // 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 10:57:26 +0000 // __int64 __fastcall SetupOpacityPopup::textChanged(__int64 result, __int64 a2) { __int64 v3; // x19 double v4; // d8 char *v5; // x20 char *v6; // x20 float v7; // s0 __int64 v8; // x0 __n128 v9; // q0 float v10; // s1 _BOOL4 v11; // w8 _BOOL4 v12; // w9 char *v13[2]; // [xsp+8h] [xbp-38h] BYREF char v14; // [xsp+1Fh] [xbp-21h] if ( (*(_BYTE *)(result + 744) & 1) == 0 ) { v3 = result; if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 3 ) { CCTextInputNode::getString(v13); if ( v14 < 0 ) { v5 = v13[0]; *(_DWORD *)(v3 + 1064) = atoi(v13[0]); operator delete(v5); } else { *(_DWORD *)(v3 + 1064) = atoi((const char *)v13); } sub_10002758C(v3); return sub_1001AD6E0(v3); } else { result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (_DWORD)result == 4 ) { CCTextInputNode::getString(v13); if ( v14 < 0 ) { v6 = v13[0]; v4 = atof(v13[0]); operator delete(v6); } else { v4 = atof((const char *)v13); } v7 = v4; v8 = sub_1003065B0("%.02f", v7); *(float *)(v3 + 1060) = cocos2d::CCString::floatValue(v8); sub_1000273A8(v3); v9.n128_f32[0] = *(float *)(v3 + 1060) / 10.0; v10 = 1.0; v11 = v9.n128_f32[0] >= 1.0; v12 = v9.n128_f32[0] > 0.0 || v9.n128_f32[0] >= 1.0; if ( v9.n128_f32[0] <= 0.0 ) v11 = 1; if ( !v12 ) v10 = 0.0; if ( v11 ) v9.n128_f32[0] = v10; return Slider::setValue(*(_QWORD *)(v3 + 1040), v9); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source