// // AccountLoginLayer::create from 0x100498c10 to 0x100498dc7 (439 bytes) // // 2 xrefs: // > AccountLayer::onLogin @ 0x1000cc469 // > AccountHelpLayer::onReLogin @ 0x1000ce7d3 // // 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 // char *__fastcall AccountLoginLayer::create(__int128 *a1) { char *v1; // rbx char v2; // r14 __int128 v4; // [rsp+0h] [rbp-30h] BYREF void *__p; // [rsp+10h] [rbp-20h] v1 = (char *)operator new(0x2E8u); cocos2d::CCLayerColor::CCLayerColor(v1); *((_QWORD *)v1 + 72) = 0; *((_DWORD *)v1 + 146) = 0; v1[588] = 0; *((_OWORD *)v1 + 34) = 0; *(_OWORD *)(v1 + 553) = 0; *((_OWORD *)v1 + 37) = 0; *((_QWORD *)v1 + 76) = 0; *((_DWORD *)v1 + 154) = -1; *((_WORD *)v1 + 310) = 0; *((_DWORD *)v1 + 156) = -1; v1[628] = 0; *(_QWORD *)v1 = off_100944688; *((_QWORD *)v1 + 40) = off_100944BD8; *((_QWORD *)v1 + 41) = &off_100944C48; *((_QWORD *)v1 + 42) = off_100944C60; *((_QWORD *)v1 + 43) = off_100944C80; *((_QWORD *)v1 + 44) = off_100944CA0; *((_QWORD *)v1 + 51) = off_100944CC8; *((_QWORD *)v1 + 54) = off_100944D48; *((_QWORD *)v1 + 79) = off_100944D68; *((_QWORD *)v1 + 80) = off_100944DB0; *((_QWORD *)v1 + 81) = &off_100944DD0; *((_OWORD *)v1 + 45) = 0; *((_OWORD *)v1 + 44) = 0; *((_OWORD *)v1 + 43) = 0; *((_OWORD *)v1 + 42) = 0; *((_OWORD *)v1 + 41) = 0; *((_QWORD *)v1 + 92) = 0; if ( (*(_BYTE *)a1 & 1) != 0 ) { sub_100006B70(&v4, *((const void **)a1 + 2), *((_QWORD *)a1 + 1), 0.0); } else { __p = *((void **)a1 + 2); v4 = *a1; } v2 = AccountLoginLayer::init(v1, &v4); if ( (v4 & 1) != 0 ) operator delete(__p); if ( v2 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1); return nullptr; } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source