// // cocos2d::extension::CCArrayForObjectSorting::objectWithObjectID from 0x7b0670 to 0x7b070c (156 bytes) // // 2 xrefs: // > cocos2d::extension::CCTableView::cellAtIndex @ 0x7afa40 // > cocos2d::extension::CCTableView::insertCellAtIndex @ 0x7b015a // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:00:06 +0000 // void *__fastcall cocos2d::extension::CCArrayForObjectSorting::objectWithObjectID( cocos2d::extension::CCArrayForObjectSorting *this, unsigned int a2) { _DWORD *v5; // r4 unsigned int v6; // r5 const void *v7; // r0 void *v8; // r4 if ( !cocos2d::CCArray::count(this) ) return nullptr; v5 = (_DWORD *)operator new(0x3Cu); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v5); *v5 = &off_D01B50; v5[13] = &off_D01B88; v5[14] = 0; `non-virtual thunk to'cocos2d::extension::CCSortedObject::setObjectID( (cocos2d::extension::CCSortedObject *)(v5 + 13), a2); v6 = cocos2d::extension::CCArrayForObjectSorting::indexOfSortedObject((int)this, (int)(v5 + 13)); cocos2d::CCObject::release((cocos2d::CCObject *)v5); if ( v6 >= cocos2d::CCArray::count(this) || v6 == -1 ) return nullptr; v7 = (const void *)cocos2d::CCArray::objectAtIndex(this, v6); if ( !v7 ) __und(0xFFu); v8 = _dynamic_cast( v7, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::extension::CCSortableObject, -2); if ( (*(int (__fastcall **)(void *))(*(_DWORD *)v8 + 12))(v8) == a2 ) return v8; else return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source