// // sub_1003F457C from 0x1003f457c to 0x1003f46bc (320 bytes) // // 3 xrefs: // > SecretLayer4::init @ 0x1003f3d80 // > SecretLayer4::textInputClosed @ 0x1003f5834 // > SecretLayer4::textChanged @ 0x1003f58b4 // // 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:04:32 +0000 // __int64 __fastcall sub_1003F457C(__int64 a1, char *a2) { __int64 v4; // x19 _BOOL4 v5; // w21 __int64 v6; // x20 __int16 v7; // w8 std::string v9; // [xsp+8h] [xbp-98h] BYREF void *__p[2]; // [xsp+20h] [xbp-80h] BYREF char v11; // [xsp+37h] [xbp-69h] void *v12[2]; // [xsp+38h] [xbp-68h] BYREF char v13; // [xsp+4Fh] [xbp-51h] void *v14[2]; // [xsp+50h] [xbp-50h] BYREF char v15; // [xsp+67h] [xbp-39h] void *v16[2]; // [xsp+68h] [xbp-38h] BYREF char v17; // [xsp+7Fh] [xbp-21h] v4 = *(_QWORD *)(*(_QWORD *)(a1 + 456) + 600LL); sub_100009900(v16, a2); sub_100009900(v14, ""); if ( sub_1000045BC(v16, v14) ) { v5 = 1; } else { sub_100009900(v12, a2); sub_100009900(__p, "..."); v5 = sub_1000045BC(v12, __p); if ( v11 < 0 ) operator delete(__p[0]); if ( v13 < 0 ) operator delete(v12[0]); } if ( v15 < 0 ) operator delete(v14[0]); if ( v17 < 0 ) { operator delete(v16[0]); if ( v5 ) goto LABEL_11; LABEL_15: BYTE2(v16[0]) = -1; v7 = -1; goto LABEL_16; } if ( !v5 ) goto LABEL_15; LABEL_11: v6 = *(_QWORD *)(a1 + 456); sub_100009900(&v9, "..."); CCTextInputNode::updateLabel(v6, &v9); if ( SHIBYTE(v9.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v9.__r_.__value_.__l.__data_); BYTE2(v16[0]) = -40; v7 = -26260; LABEL_16: LOWORD(v16[0]) = v7; return (*(__int64 (__fastcall **)(__int64, void **))(*(_QWORD *)v4 + 1072LL))(v4, v16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source