// // sub_14049ADD0 from 0x14049add0 to 0x14049ae70 (160 bytes) // // 3 xrefs: // > SFXSearchResult::updateObjects @ 0x14049b36e // > SFXSearchResult::updateObjects @ 0x14049b5c6 // > @ 0x140929114 // // 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 11:32:54 +0000 // void __fastcall sub_14049ADD0(cocos2d::CCArray *a1, int a2) { __int64 v2; // rbx int (__cdecl *v4)(const void *, const void *); // r9 v2 = a2; if ( cocos2d::CCArray::count(a1) >= 2 ) { switch ( v2 ) { case 1LL: v4 = (int (__cdecl *)(const void *, const void *))sub_140481C90; break; case 2LL: v4 = (int (__cdecl *)(const void *, const void *))sub_140481CB0; break; case 3LL: v4 = (int (__cdecl *)(const void *, const void *))sub_140481CD0; break; case 4LL: v4 = (int (__cdecl *)(const void *, const void *))sub_140481C30; break; case 5LL: v4 = (int (__cdecl *)(const void *, const void *))sub_140481C50; break; default: v4 = (int (__cdecl *)(const void *, const void *))sub_140481C70; break; } qsort(*(void **)(*((_QWORD *)a1 + 7) + 16LL), **((unsigned int **)a1 + 7), 8u, v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source