// // sub_100934410 from 0x100934410 to 0x1009346a2 (658 bytes) // // 2 xrefs: // > sub_1009346D0 @ 0x1009346dc // > @ 0x100bc2c20 // // 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 12:38:25 +0000 // void __fastcall sub_100934410(__int64 a1, int a2, __int64 a3) { __int64 v5; // rax __int64 v6; // rcx char v7; // dl unsigned int v8; // eax int v9; // edx __int64 v10; // rdi __int64 v11; // rax unsigned int v12; // ecx char v13; // al int v14; // edx __int64 v15; // rdi int v16; // r15d _QWORD *v17; // rax __int64 v18; // rax __int64 v19; // rdi __int64 v20; // r15 char *v21; // rax __int128 v22; // [rsp+8h] [rbp-48h] BYREF void *__p; // [rsp+18h] [rbp-38h] __int128 v24[3]; // [rsp+20h] [rbp-30h] BYREF if ( *(_DWORD *)(*(_QWORD *)(a1 + 752) + 56LL) == a2 ) { v5 = GameLevelManager::sharedState(); v6 = *(_QWORD *)(a1 + 752); v7 = *(_BYTE *)(v6 + 264); if ( *(_BYTE *)(v5 + 450) == 1 && (v7 & 1) != 0 && *(_DWORD *)(v6 + 268) != 2 ) { *(_DWORD *)(v6 + 268) = 2; *(_BYTE *)(v6 + 265) = 1; v19 = *(_QWORD *)(a1 + 864); if ( v19 ) { (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v19 + 928LL))(v19, "Request Pending"); cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 864), 84.0, (__m128)0x3ED70A3Du, (__m128)0x3E4CCCCDu); } sub_10092FFD0(a1); v20 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); strcpy((char *)v24, "(Message request sent"); LOWORD(v22) = 0; v21 = TextAlertPopup::create(v24, 0x96u, &v22, 0.5, 0.60000002); (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v20 + 464LL))(v20, v21, 1000); if ( (v22 & 1) != 0 ) operator delete(__p); if ( (v24[0] & 1) != 0 ) operator delete(*(void **)&v24[1]); } else if ( (v7 & 1) != 0 ) { v8 = *(_DWORD *)(v6 + 268); if ( v8 <= 6 ) { v9 = 74; if ( _bittest(&v9, v8) ) { *(_DWORD *)(v6 + 268) = 0; v10 = *(_QWORD *)(a1 + 864); if ( v10 ) { (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v10 + 928LL))(v10, ""); cocos2d::CCLabelBMFont::limitLabelWidth( *(_QWORD *)(a1 + 864), 84.0, (__m128)0x3ED70A3Du, (__m128)0x3E4CCCCDu); } sub_10092FFD0(a1); } } } v11 = *(_QWORD *)(a1 + 752); if ( *(_BYTE *)(v11 + 264) != 1 || (v12 = *(_DWORD *)(v11 + 268) - 2, v12 >= 6) || (v13 = 1, v14 = 45, !_bittest(&v14, v12)) ) { v13 = *(_BYTE *)(a1 + 790); } v15 = *(_QWORD *)(a1 + 912); if ( v15 ) { v16 = (unsigned __int8)v13 ^ 1; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v15 + 1056LL))(v15, (unsigned __int8)v13 ^ 1u); v17 = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 912) + 1072LL))(*(_QWORD *)(a1 + 912)); ButtonSprite::setColor(v17, -v16 | 0x7D7D7D); } *(_QWORD *)(a1 + 968) = 0; if ( (*(_BYTE *)(a1 + 976) & 1) != 0 ) { **(_BYTE **)(a1 + 992) = 0; *(_QWORD *)(a1 + 984) = 0; v18 = *(_QWORD *)(a1 + 1040); if ( !v18 ) { LABEL_24: sub_1009319C0(a1); return; } } else { *(_WORD *)(a1 + 976) = 0; v18 = *(_QWORD *)(a1 + 1040); if ( !v18 ) goto LABEL_24; } if ( !*(_QWORD *)(v18 + 56) ) *(_QWORD *)(v18 + 56) = a3; *(_QWORD *)(a1 + 1040) = 0; sub_100931870(a1, 0); goto LABEL_24; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source