// // TextAlertPopup::setAlertPosition from 0x1403a8d30 to 0x1403a8dfe (206 bytes) // // 4 xrefs: // > EditorUI::showTextAlert @ 0x1401c2055 // > EditorUI::toggleViewOption @ 0x1401f8d6a // > UILayer::showTextAlert @ 0x140671367 // > @ 0x1409238e8 // // 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 11:31:19 +0000 // void __fastcall TextAlertPopup::setAlertPosition(__int64 a1, float *a2, float *a3) { __int64 v6; // rax float v7; // [rsp+30h] [rbp+8h] BYREF float v8; // [rsp+34h] [rbp+Ch] char v9; // [rsp+48h] [rbp+20h] BYREF if ( *(_QWORD *)(a1 + 328) ) { v6 = cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize(v6, &v7); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v9, (float)(v7 * *a2) + *(float *)(a1 + 320) * 0.5 + *a3, (float)(v8 * a2[1]) + *(float *)(a1 + 324) * 0.5 + a3[1]); (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)a1 + 184LL))(a1, &v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source