// // TextAlertPopup::setAlertPosition from 0x5d4d18 to 0x5d4dcc (180 bytes) // // 3 xrefs: // > UILayer::showTextAlert @ 0x3fdeac // > EditorUI::showTextAlert @ 0x6f16ee // > EditorUI::toggleViewOption @ 0x70c6ba // // 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:54:08 +0000 // float *__fastcall TextAlertPopup::setAlertPosition(float *result, float *a2, float *a3) { float *v4; // r5 float v6; // s13 float v7; // s15 float v8[2]; // [sp+4h] [bp-18h] BYREF _BYTE v9[8]; // [sp+Ch] [bp-10h] BYREF v4 = result; if ( *((_DWORD *)result + 68) ) { cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)result); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v8); v6 = (float)(*a2 * v8[0]) + v4[66] * 0.5 + *a3; v7 = (float)(a2[1] * v8[1]) + v4[67] * 0.5 + a3[1]; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v6, v7); return (float *)(*(int (__fastcall **)(float *, _BYTE *))(*(_DWORD *)v4 + 92))(v4, v9); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source