// // SetTextPopup::onClose from 0x5dc2c8 to 0x5dc3e0 (280 bytes) // // 1 xrefs: // > SetTextPopup::onCancel @ 0x5dc3f8 // // 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:12 +0000 // int __fastcall SetTextPopup::onClose(SetTextPopup *this, cocos2d::CCObject *a2) { size_t v2; // r5 int v4; // r1 int v5; // r3 void (__fastcall *v6)(SetTextPopup *, cocos2d::CCNode *, int); // r9 cocos2d::CCNode *v7; // r0 int v9; // r0 void (__fastcall ***v10)(_DWORD, SetTextPopup *, int *); // r5 void (__fastcall *v11)(_DWORD, SetTextPopup *, int *); // r7 int v12[3]; // [sp+Ch] [bp-20h] BYREF int v13[3]; // [sp+18h] [bp-14h] BYREF v2 = *((unsigned __int8 *)this + 529); if ( *((_BYTE *)this + 529) || (v4 = *((_DWORD *)this + 139), v4 <= 0) || EmoteSprite::effectiveLength((unsigned __int8 *)this + 540, v4, _stack_chk_guard, (int)&_stack_chk_guard) <= *((_DWORD *)this + 138) ) { v9 = *((_DWORD *)this + 141); if ( v9 ) (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v9 + 684))(v9, 0); *(_DWORD *)(*((_DWORD *)this + 131) + 420) = 0; (*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 131) + 580))(*((_DWORD *)this + 131)); v10 = *((void (__fastcall ****)(_DWORD, SetTextPopup *, int *))this + 142); if ( v10 ) { if ( !*((_BYTE *)this + 529) ) { v11 = **v10; std::string::basic_string(v13, (int)this + 540); v11(v10, this, v13); std::string::~string((int)v13); } } (*(void (__fastcall **)(SetTextPopup *, _DWORD))(*(_DWORD *)this + 536))(this, 0); return (*(int (__fastcall **)(SetTextPopup *, int))(*(_DWORD *)this + 264))(this, 1); } else { v5 = *(_DWORD *)this; v12[0] = v2; v6 = *(void (__fastcall **)(SetTextPopup *, cocos2d::CCNode *, int))(v5 + 232); v12[1] = v2; v12[2] = v2; std::string::__init(v12, "Text too long", 0xDu); v13[0] = v2; v13[1] = v2; v13[2] = v2; std::string::__init(v13, &unk_B6B226, v2); v7 = TextAlertPopup::create((int)v12, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v13); v6(this, v7, 100); std::string::~string((int)v13); return std::string::~string((int)v12); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source