{"type": "func", "start": 5370237104, "end": 5370237193, "name": "DialogLayer::displayNextObject", "pseudocode": "// \n// DialogLayer::displayNextObject from 0x1401750b0 to 0x140175109 (89 bytes)\n// \n// 3 xrefs:\n// > DialogLayer::init @ 0x14017505d\n// > DialogLayer::handleDialogTap @ 0x14017562b\n// > <???> @ 0x140918428\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:27:32 +0000\n// \n\nunsigned int __fastcall DialogLayer::displayNextObject(__int64 a1)\n{\n  unsigned int result; // eax\n  struct cocos2d::CCObject *v3; // rax\n\n  result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 592));\n  if ( result )\n  {\n    v3 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 592), 0);\n    DialogLayer::displayDialogObject(a1, v3);\n    cocos2d::CCArray::removeObjectAtIndex(*(cocos2d::CCArray **)(a1 + 592), 0, 1);\n    return DialogLayer::updateNavButtonFrame(a1);\n  }\n  return result;\n}", "assembly": "; \n; DialogLayer::displayNextObject from 0x1401750b0 to 0x140175109 (89 bytes)\n; \n; 3 xrefs:\n; > DialogLayer::init @ 0x14017505d\n; > DialogLayer::handleDialogTap @ 0x14017562b\n; > <???> @ 0x140918428\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:27:32 +0000\n; \npush    rbx                                                            ; +0x0, 0x1401750b0\nsub     rsp, 20h                                                       ; +0x2, 0x1401750b2\nmov     rbx, rcx                                                       ; +0x6, 0x1401750b6\nmov     rcx, [rcx+250h]                                                ; +0x9, 0x1401750b9\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x10, 0x1401750c0\ntest    eax, eax                                                       ; +0x16, 0x1401750c6\njz      short loc_140175103                                            ; +0x18, 0x1401750c8\nmov     rcx, [rbx+250h]                                                ; +0x1a, 0x1401750ca\nxor     edx, edx                                                       ; +0x21, 0x1401750d1\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x23, 0x1401750d3\nmov     rdx, rax                                                       ; +0x29, 0x1401750d9\nmov     rcx, rbx                                                       ; +0x2c, 0x1401750dc\ncall    DialogLayer__displayDialogObject                               ; +0x2f, 0x1401750df\nmov     rcx, [rbx+250h]                                                ; +0x34, 0x1401750e4\nmov     r8b, 1                                                         ; +0x3b, 0x1401750eb\nxor     edx, edx                                                       ; +0x3e, 0x1401750ee\ncall    cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x40, 0x1401750f0\nmov     rcx, rbx                                                       ; +0x46, 0x1401750f6\nadd     rsp, 20h                                                       ; +0x49, 0x1401750f9\npop     rbx                                                            ; +0x4d, 0x1401750fd\njmp     DialogLayer__updateNavButtonFrame                              ; +0x4e, 0x1401750fe\nadd     rsp, 20h                                                       ; +0x53, 0x140175103\npop     rbx                                                            ; +0x57, 0x140175107\nretn                                                                   ; +0x58, 0x140175108", "xrefs": ["DialogLayer::init @ 0x14017505d", "DialogLayer::handleDialogTap @ 0x14017562b", "<???> @ 0x140918428"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}