// // TextAlertPopup::setAlertPosition from 0x8d4958 to 0x8d4a44 (236 bytes) // // 2 xrefs: // > EditorUI::keyDown @ 0x6c5fec // > @ 0xadf28 // // 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 TextAlertPopup::setAlertPosition(TextAlertPopup *a1, cocos2d::CCPoint a2, cocos2d::CCPoint a3) { float *v3; // x1 float *v4; // x2 cocos2d::CCDirector *v6; // x0 float v7; // s0 float v8; // s1 float *v9; // [xsp+30h] [xbp+30h] float *v10; // [xsp+38h] [xbp+38h] float v11; // [xsp+48h] [xbp+48h] float v12; // [xsp+4Ch] [xbp+4Ch] cocos2d::CCPoint v13; // [xsp+50h] [xbp+50h] BYREF v9 = v3; v10 = v4; if ( a1->m_label ) { v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v6); v7 = (float)(*v9 * v11) + a1->m_width * 0.5 + *v10; v8 = (float)(v9[1] * v12) + a1->m_height * 0.5 + v10[1]; cocos2d::CCPoint::CCPoint(&v13, v7, v8); a1->setPosition(a1, &v13); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source