// // ConfigureValuePopup::addInfoAlertButton from 0xa66dd8 to 0xa66fa8 (464 bytes) // // 2 xrefs: // > SetGroupIDLayer::onGroupIDOptions @ 0xabbffc // > @ 0xd8c88 // // 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 13:00:18 +0000 // __int64 __fastcall ConfigureValuePopup::addInfoAlertButton(__int64 a1, char *a2, char *a3) { cocos2d::CCDirector *v6; // x0 char v7; // w0 __int64 v8; // x0 __int64 v9; // x1 char v10; // w0 __int64 v11; // x0 __int64 v12; // x1 _DWORD *v13; // x21 cocos2d::CCNode *v14; // x23 void (__fastcall *v15)(_DWORD *, __int64 *); // x22 __int64 v17; // [xsp+50h] [xbp+50h] BYREF _BYTE v18[8]; // [xsp+58h] [xbp+58h] BYREF __int64 v19; // [xsp+60h] [xbp+60h] BYREF __int64 v20; // [xsp+68h] [xbp+68h] BYREF __int64 v21; // [xsp+70h] [xbp+70h] void *v22; // [xsp+78h] [xbp+78h] __int64 v23; // [xsp+80h] [xbp+80h] BYREF __int64 v24; // [xsp+88h] [xbp+88h] void *v25; // [xsp+90h] [xbp+90h] v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard); cocos2d::CCDirector::getWinSize(&v17, v6); v20 = 0; v7 = *a2; v21 = 0; v22 = nullptr; if ( (v7 & 1) != 0 ) { std::string::__init(&v20, *((void **)a2 + 2), *((_QWORD *)a2 + 1)); } else { v8 = *(_QWORD *)a2; v9 = *((_QWORD *)a2 + 1); v22 = *((void **)a2 + 2); v20 = v8; v21 = v9; } v10 = *a3; v23 = 0; v24 = 0; v25 = nullptr; if ( (v10 & 1) != 0 ) { std::string::__init(&v23, *((void **)a3 + 2), *((_QWORD *)a3 + 1)); } else { v11 = *(_QWORD *)a3; v12 = *((_QWORD *)a3 + 1); v25 = *((void **)a3 + 2); v23 = v11; v24 = v12; } v13 = (_DWORD *)InfoAlertButton::create((char *)&v20, (char *)&v23, 0.8); if ( (v23 & 1) != 0 ) operator delete(v25); if ( (v20 & 1) != 0 ) operator delete(v22); v13[138] = 1063675494; (*(void (__fastcall **)(_QWORD, _DWORD *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v13); v14 = *(cocos2d::CCNode **)(a1 + 552); v15 = *(void (__fastcall **)(_DWORD *, __int64 *))(*(_QWORD *)v13 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v18, (float)((float)(*(float *)&v17 * 0.5) + 130.0) - 17.0, (float)((float)(*((float *)&v17 + 1) * 0.5) + 100.0) - 17.0); cocos2d::CCNode::convertToNodeSpace(&v19, v14, (const cocos2d::CCPoint *)v18); v15(v13, &v19); return _stack_chk_guard; }