// // GJGarageLayer::onInfo from 0x14037d290 to 0x14037d48c (508 bytes) // // 2 xrefs: // > GJGarageLayer::init @ 0x14037d179 // > @ 0x140922814 // // This function is hookable on this platform (idp: pc, 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 11:31:04 +0000 // // Hidden C++ exception states: #wind=3 void GJGarageLayer::onInfo() { __int64 v0; // rax cocos2d::CCString *v1; // rax const char *CString; // rax size_t v3; // rbx size_t v4; // r8 void **v5; // rdx __int64 v6; // rax cocos2d::CCObject *v7; // rbx void *v8; // rcx void *v9; // [rsp+50h] [rbp-88h] __int128 v10; // [rsp+58h] [rbp-80h] BYREF __int64 v11; // [rsp+68h] [rbp-70h] __int64 v12; // [rsp+70h] [rbp-68h] _BYTE v13[32]; // [rsp+80h] [rbp-58h] BYREF void *Block[2]; // [rsp+A0h] [rbp-38h] BYREF __int64 v15; // [rsp+B0h] [rbp-28h] unsigned __int64 v16; // [rsp+B8h] [rbp-20h] v0 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v9 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v0 = qword_14090BFD0; } v1 = cocos2d::CCString::createWithFormat("UserID: %i", *(_DWORD *)(v0 + 692) - *(_DWORD *)(v0 + 696)); CString = cocos2d::CCString::getCString(v1); *(_OWORD *)Block = 0; v15 = 0; v16 = 0; v3 = -1; v4 = -1; do ++v4; while ( CString[v4] ); sub_14003D230(Block, CString, v4); v5 = Block; if ( v16 > 0xF ) v5 = (void **)Block[0]; v10 = 0; v11 = 0; v12 = 0; do ++v3; while ( *((_BYTE *)v5 + v3) ); sub_14003D230(&v10, v5, v3); v6 = sub_14003F4F0((__int64)v13, (__int64)&v10); v7 = FLAlertLayer::create(0, (int)"User Info", v6, (__int64)"OK", 0, 1133903872, 0, 0, 1065353216); sub_14003D310((__int64)&v10); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v7 + 1064LL))(v7); if ( v16 > 0xF ) { v8 = Block[0]; if ( v16 + 1 >= 0x1000 ) { v8 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source