// // ShareCommentLayer::lockInput from 0x541200 to 0x541322 (290 bytes) // // 1 xrefs: // > ProfilePage::onFriend @ 0x5f7c58 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:19 +0000 // int __fastcall ShareCommentLayer::lockInput(int a1, int a2) { int v4; // r0 int v5; // r0 bool v6; // nf size_t v7; // r0 float v8; // s15 int v9; // r5 void (__fastcall *v10)(int, int); // r6 int v11; // r0 _BYTE v13[8]; // [sp+10h] [bp-1Ch] BYREF int v14[3]; // [sp+18h] [bp-14h] BYREF (*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(a1 + 548) + 172))(*(_DWORD *)(a1 + 548), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(a1 + 548) + 500))(*(_DWORD *)(a1 + 548), 0); v4 = *(_DWORD *)(a1 + 552); if ( v4 ) (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v4 + 172))(v4, 0); v5 = *(_DWORD *)(a1 + 584); if ( v5 ) (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v5 + 172))(v5, 0); v6 = (*(_BYTE *)a2 & 1) != 0; if ( (*(_BYTE *)a2 & 1) == 0 ) ++a2; v14[0] = 0; if ( v6 ) a2 = *(_DWORD *)(a2 + 8); v14[1] = 0; v14[2] = 0; v7 = strlen((const char *)a2); std::string::__init(v14, (const void *)a2, v7); v8 = *(float *)(*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a1 + 548) + 164))(*(_DWORD *)(a1 + 548)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, 0.5, 0.5); v9 = TextArea::create( (int)v14, "chatFont.fnt", 1065353216, COERCE_INT((float)((float)(v8 - 40.0) * 1.1) / 0.8), (const cocos2d::CCPoint *)v13, 1101004800, 0, 0); std::string::~string((int)v14); (*(void (__fastcall **)(int, int))(*(_DWORD *)v9 + 80))(v9, 1061997773); v10 = *(void (__fastcall **)(int, int))(*(_DWORD *)v9 + 92); v11 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a1 + 548) + 96))(*(_DWORD *)(a1 + 548)); v10(v9, v11); return (*(int (__fastcall **)(_DWORD, int, int))(**(_DWORD **)(a1 + 460) + 232))(*(_DWORD *)(a1 + 460), v9, 2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source