{"type": "func", "start": 6762052, "end": 6762146, "name": "BrowseSmartKeyLayer::getAllSelectedBlocks", "pseudocode": "// \n// BrowseSmartKeyLayer::getAllSelectedBlocks from 0x672e44 to 0x672ea2 (94 bytes)\n// \n// 2 xrefs:\n// > BrowseSmartKeyLayer::addChanceToSelected @ 0x673f9c\n// > BrowseSmartKeyLayer::createTemplateObjects @ 0x67412e\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:55:54 +0000\n// \n\ncocos2d::CCArray *__fastcall BrowseSmartKeyLayer::getAllSelectedBlocks(cocos2d::CCArray **this)\n{\n  unsigned int v2; // r4\n  cocos2d::CCArray *v3; // r6\n  unsigned int v4; // r5\n  cocos2d::CCArray *v5; // r8\n  int v6; // r0\n  cocos2d::CCObject *v7; // r1\n\n  v2 = 0;\n  v3 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)this);\n  while ( v2 < cocos2d::CCArray::count(*(this + 131)) )\n  {\n    v4 = 0;\n    v5 = (cocos2d::CCArray *)cocos2d::CCArray::objectAtIndex(*(this + 131), v2);\n    while ( v4 < cocos2d::CCArray::count(v5) )\n    {\n      v6 = cocos2d::CCArray::objectAtIndex(v5, v4);\n      v7 = (cocos2d::CCObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v6 + 536))(v6);\n      if ( *((_BYTE *)v7 + 284) )\n        cocos2d::CCArray::addObject(v3, v7);\n      ++v4;\n    }\n    ++v2;\n  }\n  return v3;\n}", "assembly": "; \n; BrowseSmartKeyLayer::getAllSelectedBlocks from 0x672e44 to 0x672ea2 (94 bytes)\n; \n; 2 xrefs:\n; > BrowseSmartKeyLayer::addChanceToSelected @ 0x673f9c\n; > BrowseSmartKeyLayer::createTemplateObjects @ 0x67412e\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:55:54 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x672e44\nMOV             R7, R0                                                 ; +0x4, 0x672e48\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x6, 0x672e4a\nMOVS            R4, #0                                                 ; +0xa, 0x672e4e\nMOV             R6, R0                                                 ; +0xc, 0x672e50\nLDR.W           R0, [R7,#0x20C]; this                                  ; +0xe, 0x672e52\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x12, 0x672e56\nCMP             R4, R0                                                 ; +0x16, 0x672e5a\nBCS             loc_672E9C                                             ; +0x18, 0x672e5c\nLDR.W           R0, [R7,#0x20C]; this                                  ; +0x1a, 0x672e5e\nMOV             R1, R4; unsigned int                                   ; +0x1e, 0x672e62\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x20, 0x672e64\nMOVS            R5, #0                                                 ; +0x24, 0x672e68\nMOV             R8, R0                                                 ; +0x26, 0x672e6a\nMOV             R0, R8; this                                           ; +0x28, 0x672e6c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2a, 0x672e6e\nCMP             R5, R0                                                 ; +0x2e, 0x672e72\nBCS             loc_672E98                                             ; +0x30, 0x672e74\nMOV             R1, R5; unsigned int                                   ; +0x32, 0x672e76\nMOV             R0, R8; this                                           ; +0x34, 0x672e78\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x36, 0x672e7a\nLDR             R3, [R0]                                               ; +0x3a, 0x672e7e\nLDR.W           R3, [R3,#0x218]                                        ; +0x3c, 0x672e80\nBLX             R3                                                     ; +0x40, 0x672e84\nLDRB.W          R3, [R0,#0x11C]                                        ; +0x42, 0x672e86\nMOV             R1, R0; cocos2d::CCObject *                            ; +0x46, 0x672e8a\nCBZ             R3, loc_672E94                                         ; +0x48, 0x672e8c\nMOV             R0, R6; this                                           ; +0x4a, 0x672e8e\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x4c, 0x672e90\nADDS            R5, #1                                                 ; +0x50, 0x672e94\nB               loc_672E6C                                             ; +0x52, 0x672e96\nADDS            R4, #1                                                 ; +0x54, 0x672e98\nB               loc_672E52                                             ; +0x56, 0x672e9a\nMOV             R0, R6                                                 ; +0x58, 0x672e9c\nPOP.W           {R4-R8,PC}                                             ; +0x5a, 0x672e9e", "xrefs": ["BrowseSmartKeyLayer::addChanceToSelected @ 0x673f9c", "BrowseSmartKeyLayer::createTemplateObjects @ 0x67412e"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}