// // AccountLoginLayer::create from 0x991ee0 to 0x992144 (612 bytes) // // 3 xrefs: // > AccountHelpLayer::onReLogin @ 0x98c208 // > AccountLayer::onLogin @ 0x98d5ac // > @ 0x5ae50 // // 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:57:59 +0000 // __int64 __fastcall AccountLoginLayer::create(char *a1) { __int64 v2; // x19 char v3; // w0 __int64 v4; // x0 __int64 v5; // x1 int v6; // w21 __int64 v7; // x1 __int64 v8; // x0 __int64 v10; // [xsp+30h] [xbp+30h] BYREF __int64 v11; // [xsp+38h] [xbp+38h] void *v12; // [xsp+40h] [xbp+40h] v2 = operator new(0x300u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v2); *(_QWORD *)(v2 + 552) = 0; *(_QWORD *)v2 = &off_1419A40; *(_QWORD *)(v2 + 320) = off_1419F90; *(_QWORD *)(v2 + 328) = &off_141A000; *(_QWORD *)(v2 + 336) = off_141A018; *(_QWORD *)(v2 + 344) = off_141A038; *(_QWORD *)(v2 + 352) = off_141A060; *(_QWORD *)(v2 + 408) = &off_141A090; *(_QWORD *)(v2 + 432) = &off_141A110; *(_QWORD *)(v2 + 544) = off_141A130; *(_QWORD *)(v2 + 560) = 0; *(_QWORD *)(v2 + 568) = 0; *(_BYTE *)(v2 + 576) = 0; *(_QWORD *)(v2 + 584) = 0; *(_DWORD *)(v2 + 592) = 0; *(_BYTE *)(v2 + 596) = 0; *(_BYTE *)(v2 + 597) = 0; *(_BYTE *)(v2 + 598) = 0; *(_BYTE *)(v2 + 599) = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 600)); *(_DWORD *)(v2 + 632) = -1; *(_DWORD *)(v2 + 640) = -1; *(_QWORD *)(v2 + 608) = 0; *(_QWORD *)(v2 + 616) = 0; *(_QWORD *)(v2 + 624) = 0; *(_BYTE *)(v2 + 636) = 0; *(_BYTE *)(v2 + 637) = 0; *(_BYTE *)(v2 + 644) = 0; *(_BYTE *)(v2 + 656) = 0; *(_DWORD *)(v2 + 648) = 0; *(_DWORD *)(v2 + 652) = 0; *(_QWORD *)(v2 + 680) = 0; *(_QWORD *)v2 = &off_1474120; *(_QWORD *)(v2 + 320) = off_14746A0; *(_QWORD *)(v2 + 328) = &off_1474710; *(_QWORD *)(v2 + 336) = off_1474728; *(_QWORD *)(v2 + 344) = off_1474748; *(_QWORD *)(v2 + 352) = off_1474770; *(_QWORD *)(v2 + 408) = &off_14747A0; *(_QWORD *)(v2 + 432) = &off_1474820; *(_QWORD *)(v2 + 688) = 0; *(_QWORD *)(v2 + 696) = 0; *(_QWORD *)(v2 + 672) = &off_14748A8; *(_QWORD *)(v2 + 544) = off_1474840; *(_QWORD *)(v2 + 664) = &off_1474888; *(_QWORD *)(v2 + 704) = 0; *(_QWORD *)(v2 + 712) = 0; *(_QWORD *)(v2 + 720) = 0; *(_QWORD *)(v2 + 728) = 0; *(_QWORD *)(v2 + 736) = 0; *(_QWORD *)(v2 + 744) = 0; *(_QWORD *)(v2 + 752) = 0; *(_QWORD *)(v2 + 760) = 0; v3 = *a1; v10 = 0; v11 = 0; v12 = nullptr; if ( (v3 & 1) != 0 ) { std::string::__init(&v10, *((void **)a1 + 2), *((_QWORD *)a1 + 1)); } else { v4 = *(_QWORD *)a1; v5 = *((_QWORD *)a1 + 1); v12 = *((void **)a1 + 2); v10 = v4; v11 = v5; } v6 = (unsigned __int8)AccountLoginLayer::init(v2, (unsigned __int8 *)&v10); if ( (v10 & 1) != 0 ) operator delete(v12); if ( v6 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { v7 = *(_QWORD *)v2; v8 = v2; v2 = 0; (*(void (__fastcall **)(__int64))(v7 + 16))(v8); } return v2; }