// // sub_1004E7DEC from 0x1004e7dec to 0x1004e7e70 (132 bytes) // // 2 xrefs: // > sub_1004E7840 @ 0x1004e7844 // > sub_1004E7848 @ 0x1004e784c // // 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 11:06:41 +0000 // void __fastcall sub_1004E7DEC(__int64 a1, int a2) { __int64 v3; // x0 int v5; // w0 void **v6; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v8; // [xsp+1Fh] [xbp-21h] v3 = *(_QWORD *)(a1 + 384); if ( v3 ) { CCTextInputNode::getString(v3, __p); v5 = sub_1004E68A8((__int64 *)__p); if ( v5 ) { if ( v8 >= 0 ) v6 = __p; else v6 = (void **)__p[0]; v5 = atoi((const char *)v6); } sub_1004E7E8C(a1, (v5 + a2) & (unsigned int)~((v5 + a2) >> 31)); if ( v8 < 0 ) operator delete(__p[0]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source