// // sub_1004EAB70 from 0x1004eab70 to 0x1004eabe6 (118 bytes) // // 5 xrefs: // > CCTextInputNode::openEditMenu @ 0x10006c987 // > FLAlertLayer::show @ 0x1004951d7 // > FLAlertLayer::show @ 0x1004951ed // > FLAlertLayer::show @ 0x100495246 // > FLAlertLayer::show @ 0x10049525c // // 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:31:21 +0000 // __int64 __fastcall sub_1004EAB70(__int64 a1) { int v1; // ebx __int64 v2; // rax unsigned int *v3; // rax _QWORD *v4; // r15 unsigned __int64 v5; // r12 __int64 v6; // r14 v1 = 0; if ( a1 ) { v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1); if ( v2 ) { v3 = *(unsigned int **)(v2 + 56); if ( *v3 ) { v4 = *((_QWORD **)v3 + 2); v5 = (unsigned __int64)&v4[*v3 - 1]; v1 = 0; do { v6 = *v4; if ( !*v4 ) break; if ( v1 < (*(int (__fastcall **)(_QWORD))(*(_QWORD *)v6 + 104LL))(*v4) ) v1 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 104LL))(v6); ++v4; } while ( (unsigned __int64)v4 <= v5 ); } } } return (unsigned int)v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source