// // LevelInfoLayer::numberInputClosed from 0x10002e03c to 0x10002e178 (316 bytes) // // 2 xrefs: // > sub_10002E1B0 @ 0x10002e1b4 // > @ 0x1008b0958 // // 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:29 +0000 // void __fastcall LevelInfoLayer::numberInputClosed(__int64 a1, __int64 a2) { const char *v3; // x20 const char *v4; // x0 int v5; // w21 int v6; // w0 int v7; // w8 __int64 v9; // x20 void *__p[2]; // [xsp+8h] [xbp-58h] BYREF char v11; // [xsp+1Fh] [xbp-41h] char *__dst[2]; // [xsp+20h] [xbp-40h] BYREF __int64 v13; // [xsp+30h] [xbp-30h] if ( *(char *)(a2 + 743) < 0 ) { sub_1000097D0(__dst, *(void **)(a2 + 720), *(_QWORD *)(a2 + 728)); } else { *(_OWORD *)__dst = *(_OWORD *)(a2 + 720); v13 = *(_QWORD *)(a2 + 736); } if ( SHIBYTE(v13) < 0 ) { v3 = __dst[0]; v4 = __dst[0]; } else { v3 = (const char *)__dst; v4 = (const char *)__dst; } v5 = atoi(v4) + 1000000; v6 = atoi(v3); v7 = *(_DWORD *)(*(_QWORD *)(a1 + 504) + 980LL) - *(_DWORD *)(*(_QWORD *)(a1 + 504) + 984LL); if ( v5 == v7 || v6 + 10000 == v7 ) { LevelInfoLayer::confirmClone(a1); } else { sub_100009900(__p, "Incorrect password!"); v9 = FLAlertLayer::create_1(0, "Error", __p, "OK", 0, 300.0); if ( v11 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 1312LL))(v9); ++*(_DWORD *)(*(_QWORD *)(a1 + 504) + 1004LL); } if ( SHIBYTE(v13) < 0 ) operator delete(__dst[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source