// // TextAlertPopup::setAlertPosition from 0xa206d0 to 0xa207bc (236 bytes) // // 4 xrefs: // > UILayer::showTextAlert @ 0x6f0ca0 // > EditorUI::showTextAlert @ 0xbd6f48 // > EditorUI::toggleViewOption @ 0xbfea98 // > @ 0xe3a88 // // 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 12:59:40 +0000 // __int64 __fastcall TextAlertPopup::setAlertPosition(__int64 a1, float *a2, float *a3) { cocos2d::CCDirector *v4; // x0 cocos2d::CCDirector *v5; // x0 float v6; // s0 float v7; // s1 __int64 v11; // [xsp+48h] [xbp+48h] BYREF _BYTE v12[8]; // [xsp+50h] [xbp+50h] BYREF v4 = *(cocos2d::CCDirector **)(a1 + 328); if ( v4 ) { v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::getWinSize(&v11, v5); v6 = (float)(*a2 * *(float *)&v11) + *(float *)(a1 + 316) * 0.5 + *a3; v7 = (float)(a2[1] * *((float *)&v11 + 1)) + *(float *)(a1 + 320) * 0.5 + a3[1]; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, v6, v7); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a1 + 184LL))(a1, v12); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source