// // InfoAlertButton::activate from 0xa3f1bc to 0xa3f334 (376 bytes) // // 2 xrefs: // > @ 0xd54a8 // > @ 0x1488100 // // 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 12:59:55 +0000 // __int64 __fastcall InfoAlertButton::activate(InfoAlertButton *this) { cocos2d::CCLabelBMFont *v2; // x25 const char *v3; // x24 size_t v4; // x0 size_t v5; // x21 unsigned __int64 v6; // x0 char *v7; // x3 __int64 v8; // x19 __int64 v10; // [xsp+50h] [xbp+50h] BYREF size_t v11; // [xsp+58h] [xbp+58h] void *v12; // [xsp+60h] [xbp+60h] if ( !*((_BYTE *)this + 339) ) return _stack_chk_guard; v2 = (InfoAlertButton *)((char *)this + 505); if ( (*((_BYTE *)this + 504) & 1) != 0 ) v2 = *((cocos2d::CCLabelBMFont **)this + 65); v3 = (char *)this + 529; if ( (*((_BYTE *)this + 528) & 1) != 0 ) v3 = *((const char **)this + 68); v10 = 0; v11 = 0; v12 = nullptr; v4 = strlen(v3); v5 = v4; if ( v4 > 0xFFFFFFFFFFFFFFEFLL ) sub_62DABC(); if ( v4 <= 0x16 ) { LOBYTE(v10) = 2 * v4; v7 = (char *)&v10 + 1; if ( !v4 ) goto LABEL_10; } else { v6 = (v4 + 16) & 0xFFFFFFFFFFFFFFF0LL; v10 = v6 | 1; v7 = (char *)operator new(v6); v12 = v7; v11 = v5; } v7 = (char *)memcpy(v7, v3, v5); LABEL_10: v7[v5] = 0; v8 = FLAlertLayer::create( 0, v2, (char *)&v10, (ButtonSprite *)"OK", nullptr, *((_BYTE *)this + 556), 430.0, 0.0, *((float *)this + 138)); if ( (v10 & 1) != 0 ) operator delete(v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 1312LL))(v8); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source