// // sub_180005510 from 0x180005510 to 0x180005578 (104 bytes) // // 3 xrefs: // > cocos2d::extension::CCControl::init @ 0x180004233 // > cocos2d::extension::CCScrollView::initWithViewSize @ 0x18001257b // > @ 0x1800494f8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall sub_180005510(_QWORD *a1) { _QWORD *v1; // rdi _QWORD *v3; // rbx void *v4; // rcx v1 = (_QWORD *)*a1; v3 = *(_QWORD **)(*a1 + 8LL); while ( !*((_BYTE *)v3 + 25) ) { sub_180005580(a1, a1, v3[2]); v4 = v3; v3 = (_QWORD *)*v3; j_j_free(v4); } v1[1] = v1; *v1 = v1; v1[2] = v1; a1[1] = 0; }