// // GJBaseGameLayer::loadGroupParentsFromString from 0x9b3020 to 0x9b324c (556 bytes) // // 2 xrefs: // > GameObject::objectFromVector @ 0x780e68 // > @ 0xefe30 // // 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:58:18 +0000 // __int64 __fastcall GJBaseGameLayer::loadGroupParentsFromString(__int64 a1, GameObject *a2, unsigned __int8 *a3) { int v6; // w0 size_t v7; // x2 int v9; // w0 const void *v10; // x21 unsigned __int64 v11; // x27 _BYTE *v12; // x0 __int64 v13; // x21 int v14; // w0 const char *v15; // x0 _BOOL4 v16; // w27 unsigned __int64 v17; // x2 unsigned __int8 *v18; // x28 size_t v19; // x2 char *v20; // x0 char *v21; // x28 int v22; // [xsp+6Ch] [xbp+6Ch] BYREF __int64 v23[2]; // [xsp+70h] [xbp+70h] BYREF void *v24; // [xsp+80h] [xbp+80h] v6 = *a3; if ( (v6 & 1) != 0 ) { v7 = *((_QWORD *)a3 + 1); if ( !v7 ) return _stack_chk_guard; v10 = *((const void **)a3 + 2); } else { v9 = v6 >> 1; if ( !v9 ) return _stack_chk_guard; v10 = a3 + 1; v7 = v9; } v11 = 0; v12 = memchr(v10, 46, v7); v13 = v12 - (_BYTE *)v10; if ( !v12 ) v13 = -1; LABEL_8: std::string::basic_string(v23, (__int64)a3, v11, v13 - v11); v14 = LOBYTE(v23[0]); if ( (v23[0] & 1) != 0 ) { LABEL_9: if ( v23[1] && (v15 = (const char *)v24, *(_BYTE *)v24 == 43) ) { v16 = 1; } else { v15 = (const char *)v24; v16 = 0; } goto LABEL_12; } while ( 1 ) { v16 = 0; if ( v14 >> 1 ) v16 = BYTE1(v23[0]) == 43; v15 = (char *)v23 + 1; LABEL_12: v22 = atoi(v15); GJBaseGameLayer::setGroupParent(a1, a2, v22); if ( v16 && !std::__hash_table,std::equal_to,std::allocator>::find( (_QWORD *)(a1 + 3712), &v22) ) { break; } if ( v13 == -1 ) goto LABEL_29; LABEL_14: v11 = v13 + 1; if ( (*a3 & 1) != 0 ) { v17 = *((_QWORD *)a3 + 1); v13 = -1; v18 = *((unsigned __int8 **)a3 + 2); if ( v11 < v17 ) goto LABEL_23; } else { v17 = *a3 >> 1; v18 = a3 + 1; v13 = -1; if ( v11 < v17 ) { LABEL_23: v19 = v17 - v11; if ( v19 ) { v20 = (char *)memchr(&v18[v11], 46, v19); v21 = (char *)(v20 - (char *)v18); if ( v20 ) v13 = (__int64)v21; } } } if ( (v23[0] & 1) == 0 ) goto LABEL_8; operator delete(v24); std::string::basic_string(v23, (__int64)a3, v11, v13 - v11); v14 = LOBYTE(v23[0]); if ( (v23[0] & 1) != 0 ) goto LABEL_9; } GJBaseGameLayer::promoteGroupParent((cocos2d::CCDictionary **)a1, (cocos2d::CCDictionary **)a2, v22); if ( v13 != -1 ) goto LABEL_14; LABEL_29: if ( (v23[0] & 1) != 0 ) operator delete(v24); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source