// // sub_100449D7C from 0x100449d7c to 0x100449ec0 (324 bytes) // // 2 xrefs: // > ShardsPage::init @ 0x100449b9c // > sub_100449D3C @ 0x100449d78 // // 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:05:17 +0000 // __int64 __fastcall sub_100449D7C(__int64 result, int a2) { __int64 v3; // x20 int v4; // w0 __int64 v5; // x21 __int64 v6; // x23 __int64 v7; // x0 __n128 v8; // q0 unsigned int *v9; // x9 __int64 v10; // x8 _QWORD *v11; // x24 unsigned __int64 v12; // x25 __int64 v13; // x0 __int64 v14; // x20 __int64 v15; // x0 const char *v16; // x1 __int64 v17; // x1 if ( (unsigned int)a2 <= 3 ) { v3 = result; if ( *(_DWORD *)(result + 696) != a2 ) { *(_DWORD *)(result + 696) = a2; v4 = cocos2d::CCDictionary::count(*(_QWORD *)(result + 664)); if ( v4 >= 1 ) { v5 = 0; v6 = (unsigned int)v4; do { v8 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(v3 + 664), v5); if ( v7 ) { v9 = *(unsigned int **)(v7 + 56); v10 = *v9; if ( (_DWORD)v10 ) { v11 = *((_QWORD **)v9 + 2); v12 = (unsigned __int64)&v11[v10 - 1]; do { if ( !*v11 ) break; (*(void (__fastcall **)(_QWORD, bool, __n128))(*(_QWORD *)*v11 + 344LL))(*v11, v5 == a2, v8); ++v11; } while ( (unsigned __int64)v11 <= v12 ); } } ++v5; } while ( v5 != v6 ); } (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(v3 + 672) + 344LL))(*(_QWORD *)(v3 + 672), a2 != 0); v13 = (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(v3 + 680) + 344LL))(*(_QWORD *)(v3 + 680), a2 != 3); v14 = *(_QWORD *)(v3 + 688); v15 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v13); if ( a2 <= 1 ) v16 = "tier1Icon_001.png"; else v16 = "tier2Icon_001.png"; v17 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v15, v16); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v14 + 1160LL))(v14, v17); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source