// // SetupGravityModPopup::textChanged from 0x1003c6360 to 0x1003c6431 (209 bytes) // // 2 xrefs: // > sub_1003C64E0 @ 0x1003c64ec // > @ 0x100b3a420 // // This function is hookable on this platform (idp: pc, 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:29:34 +0000 // void __fastcall SetupGravityModPopup::textChanged(__int64 a1, __int64 a2) { int v3; // eax char *v4; // r14 int v5; // ecx int v6; // eax __int64 v7; // rcx __int64 v8; // rdi unsigned int v9; // r14d _QWORD v10[2]; // [rsp-30h] [rbp-30h] BYREF char *v11; // [rsp-20h] [rbp-20h] if ( !*(_BYTE *)(a1 + 732) ) { CCTextInputNode::getString(v10, a2); if ( (v10[0] & 1) != 0 ) { v4 = v11; *(_DWORD *)(a1 + 728) = atoi(v11); operator delete(v4); v3 = *(_DWORD *)(a1 + 728); } else { v3 = atoi((const char *)v10 + 1); } v5 = 0; if ( v3 > 0 ) v5 = v3; v6 = 999; if ( v5 < 999 ) v6 = v5; *(_DWORD *)(a1 + 728) = v6; v7 = *(_QWORD *)(a1 + 664); if ( v7 ) { *(_DWORD *)(v7 + 1680) = v6; } else { v8 = *(_QWORD *)(a1 + 672); if ( v8 && (unsigned int)sub_1007FEF90(v8) ) { v9 = 0; do *(_DWORD *)(sub_1007FEFE0(*(_QWORD *)(a1 + 672), v9++) + 1680) = *(_DWORD *)(a1 + 728); while ( v9 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 672)) ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source