// // TextAlertPopup::setAlertPosition from 0x1002afbd0 to 0x1002afca1 (209 bytes) // // 1 xrefs: // > EditorUI::keyDown @ 0x100051218 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall TextAlertPopup::setAlertPosition(TextAlertPopup *a1, cocos2d::CCPoint a2, cocos2d::CCPoint a3) { float *v3; // rdx float *v4; // rsi float *v5; // r14 float v6; // xmm0_4 float v7; // xmm1_4 float v8; // [rsp-30h] [rbp-30h] BYREF float v9[10]; // [rsp-28h] [rbp-28h] BYREF if ( a1->m_label ) { v5 = v3; cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v9); v6 = *v5 + a1->m_width * 0.5 + (float)(*v4 * v9[0]); v7 = v5[1] + a1->m_height * 0.5 + (float)(v4[1] * v9[1]); sub_10028CBE0(&v8, v6, v7); ((void (__fastcall *)(TextAlertPopup *, float *))a1->setPosition)(a1, &v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source