// // sub_100651D20 from 0x100651d20 to 0x100651ef4 (468 bytes) // // 1 xrefs: // > SFXBrowser::setupList @ 0x100430b52 // // 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:34:49 +0000 // std::string *__fastcall sub_100651D20(std::string *this, __int64 a2, unsigned int a3, char a4) { __int64 v6; // rdi __int64 v8; // rax __int64 v9; // r15 __int64 v10; // rsi __int64 v11; // rdi __int64 v12; // rax unsigned int v13; // r13d unsigned int v14; // ecx const std::string::value_type *v15; // rdx std::string::size_type v16; // rcx __int64 v17; // rsi __int64 v18; // rdi __int64 v19; // rax __int64 v20; // rsi __int64 v21; // rdi __int64 v22; // rax __int64 v23; // rsi __int64 v24; // rdi __int64 v25; // rax __int64 v26; // rsi __int64 v27; // rdi __int64 v28; // rax *(_WORD *)&this->__r_.__value_.__l.0 = 0; v6 = *(_QWORD *)(a2 + 824); if ( v6 != 0 && (int)a3 > 0 ) { v8 = cocos2d::CCDictionary::objectForKey_1(v6, a3); if ( v8 ) { v9 = v8; if ( *(_BYTE *)(v8 + 72) || (v23 = *(int *)(v8 + 60), v24 = *(_QWORD *)(a2 + 824), v23 > 0 && v24 != 0) && (v25 = cocos2d::CCDictionary::objectForKey_1(v24, v23)) != 0 && (v9 = v25, *(_BYTE *)(v25 + 72) == 1) ) { if ( !a4 ) goto LABEL_8; v10 = *(int *)(v9 + 60); v11 = *(_QWORD *)(a2 + 824); if ( v10 > 0 && v11 != 0 ) { v12 = cocos2d::CCDictionary::objectForKey_1(v11, v10); if ( v12 ) { v9 = v12; if ( *(_BYTE *)(v12 + 72) || (v26 = *(int *)(v12 + 60), v27 = *(_QWORD *)(a2 + 824), v26 > 0 && v27 != 0) && (v28 = cocos2d::CCDictionary::objectForKey_1(v27, v26)) != 0 && (v9 = v28, *(_BYTE *)(v28 + 72) == 1) ) { LABEL_8: v13 = -1; do { std::string::insert(this, 0, " \\ "); v14 = *(unsigned __int8 *)(v9 + 80); if ( (v14 & 1) != 0 ) { v15 = *(const std::string::value_type **)(v9 + 96); v16 = *(_QWORD *)(v9 + 88); } else { v15 = (const std::string::value_type *)(v9 + 81); v16 = v14 >> 1; } std::string::insert(this, 0, v15, v16); v17 = *(int *)(v9 + 60); if ( v17 <= 0 ) break; v18 = *(_QWORD *)(a2 + 824); if ( !v18 ) break; v19 = cocos2d::CCDictionary::objectForKey_1(v18, v17); v9 = v19; if ( !v19 ) break; if ( !*(_BYTE *)(v19 + 72) ) { v20 = *(int *)(v19 + 60); if ( v20 <= 0 ) break; v21 = *(_QWORD *)(a2 + 824); if ( !v21 ) break; v22 = cocos2d::CCDictionary::objectForKey_1(v21, v20); v9 = v22; if ( !v22 || *(_BYTE *)(v22 + 72) != 1 ) break; } ++v13; } while ( v13 < 9 ); } } } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source