{"type": "func", "start": 7878510, "end": 7878582, "name": "EditorSoundBrowserLayer::onNextPage", "pseudocode": "// \n// EditorSoundBrowserLayer::onNextPage from 0x78376e to 0x7837b6 (72 bytes)\n// \n// 0 xrefs:\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:59:30 +0000\n// \n\ncocos2d::CCArray **__fastcall EditorSoundBrowserLayer::onNextPage(cocos2d::CCArray **this, cocos2d::CCObject *a2)\n{\n  EditorSoundBrowserLayer *v2; // r4\n  cocos2d::CCArray *v3; // r0\n\n  v2 = (EditorSoundBrowserLayer *)this;\n  if ( (unsigned int)*(this + 182) <= 1 )\n  {\n    if ( (int)*(this + 191) <= 10 * (int)*(this + 183) + 10 )\n      return this;\nLABEL_6:\n    ++*((_DWORD *)v2 + 183);\n    return (cocos2d::CCArray **)EditorSoundBrowserLayer::loadCurrentPage(v2, 0, 0);\n  }\n  v3 = *(this + 190);\n  if ( !v3 )\n    goto LABEL_6;\n  this = (cocos2d::CCArray **)cocos2d::CCArray::count(v3);\n  if ( (int)this > 9 )\n    goto LABEL_6;\n  return this;\n}", "assembly": "; \n; EditorSoundBrowserLayer::onNextPage from 0x78376e to 0x7837b6 (72 bytes)\n; \n; 0 xrefs:\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:59:30 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x78376e\nMOV             R4, R0                                                 ; +0x2, 0x783770\nLDR.W           R3, [R0,#0x2D8]                                        ; +0x4, 0x783772\nCMP             R3, #1                                                 ; +0x8, 0x783776\nBHI             loc_78378E                                             ; +0xa, 0x783778\nLDR.W           R2, [R0,#0x2DC]                                        ; +0xc, 0x78377a\nMOVS            R3, #0xA                                               ; +0x10, 0x78377e\nMLA             R3, R2, R3, R3                                         ; +0x12, 0x783780\nLDR.W           R2, [R0,#0x2FC]                                        ; +0x16, 0x783784\nCMP             R2, R3                                                 ; +0x1a, 0x783788\nBGT             loc_78379C                                             ; +0x1c, 0x78378a\nPOP             {R4,PC}                                                ; +0x1e, 0x78378c\nLDR.W           R0, [R0,#0x2F8]; this                                  ; +0x20, 0x78378e\nCBZ             R0, loc_78379C                                         ; +0x24, 0x783792\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x26, 0x783794\nCMP             R0, #9                                                 ; +0x2a, 0x783798\nBLE             locret_7837B4                                          ; +0x2c, 0x78379a\nLDR.W           R3, [R4,#0x2DC]                                        ; +0x2e, 0x78379c\nMOVS            R1, #0; bool                                           ; +0x32, 0x7837a0\nMOV             R0, R4; this                                           ; +0x34, 0x7837a2\nMOV             R2, R1; bool                                           ; +0x36, 0x7837a4\nADDS            R3, #1                                                 ; +0x38, 0x7837a6\nSTR.W           R3, [R4,#0x2DC]                                        ; +0x3a, 0x7837a8\nPOP.W           {R4,LR}                                                ; +0x3e, 0x7837ac\nB.W             _ZN23EditorSoundBrowserLayer15loadCurrentPageEbb; EditorSoundBrowserLayer::loadCurrentPage(bool,bool) ; +0x42, 0x7837b0\nPOP             {R4,PC}                                                ; +0x46, 0x7837b4", "xrefs": [], "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"}