// // sub_100267408 from 0x100267408 to 0x1002675b4 (428 bytes) // // 2 xrefs: // > GJMultiplayerManager::onJoinLobbyCompleted @ 0x100266d04 // > sub_100267B24 @ 0x100267bb4 // // 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 11:01:42 +0000 // void __fastcall sub_100267408(__int64 a1, __int64 a2, int a3) { __int64 v5; // x22 __int64 v6; // x0 __int64 v7; // x19 __int64 v8; // x0 __int64 v9; // x0 __int64 v10; // x21 int v11; // w22 __int64 v12; // x0 __int64 v13; // x22 __int64 v14; // x23 int v15; // w24 __int64 v16; // x0 __int64 v17; // x0 std::string v18; // [xsp+0h] [xbp-70h] BYREF void *__p[2]; // [xsp+20h] [xbp-50h] BYREF __int64 v20; // [xsp+30h] [xbp-40h] v5 = a3; cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 344), a3); v7 = v6; if ( !v6 ) { v7 = sub_1002E736C(0); cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 344), v7, v5); } if ( *(char *)(a2 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a2; v20 = *(_QWORD *)(a2 + 16); } v8 = sub_1000A8FB4((char *)__p, 1); v9 = GJComment::create(v8); v10 = v9; if ( SHIBYTE(v20) < 0 ) operator delete(__p[0]); v11 = *(_DWORD *)(v10 + 388); v12 = GJAccountManager::sharedState(v9); if ( v11 == *(_DWORD *)(v12 + 352) - *(_DWORD *)(v12 + 356) && *(_DWORD *)(v10 + 368) != -1 && (unsigned int)sub_1002E757C(v7) ) { v13 = 0; while ( 1 ) { v14 = sub_1002E75A0(v7, v13); v15 = *(_DWORD *)(v14 + 388); v16 = GJAccountManager::sharedState(v14); if ( v15 == *(_DWORD *)(v16 + 352) - *(_DWORD *)(v16 + 356) && *(_DWORD *)(v14 + 368) == -1 ) break; v13 = (unsigned int)(v13 + 1); if ( (unsigned int)v13 >= (unsigned int)sub_1002E757C(v7) ) goto LABEL_15; } *(_DWORD *)(v14 + 368) = *(_DWORD *)(v10 + 368); } else { LABEL_15: *(_BYTE *)(v10 + 433) = 1; cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 328), *(int *)(v10 + 388)); if ( v17 ) { if ( *(char *)(v17 + 343) < 0 ) sub_1000097D0(&v18, *(void **)(v17 + 320), *(_QWORD *)(v17 + 328)); else v18 = *(std::string *)(v17 + 320); std::string::operator=((std::string *)(v10 + 344), &v18); if ( SHIBYTE(v18.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v18.__r_.__value_.__l.__data_); } sub_1002E74E0(v7, v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source