{"type": "func", "start": 5369576000, "end": 5369576089, "name": "DialogLayer::displayNextObject", "pseudocode": "// \n// DialogLayer::displayNextObject from 0x1400d3a40 to 0x1400d3a99 (89 bytes)\n// \n// 3 xrefs:\n// > DialogLayer::init @ 0x1400d39ef\n// > DialogLayer::handleDialogTap @ 0x1400d3f86\n// > <???> @ 0x1406c864c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid DialogLayer::displayNextObject(DialogLayer *a1)\n{\n  DialogObject *v2; // rax\n\n  if ( cocos2d::CCArray::count(a1->m_dialogObjects) )\n  {\n    v2 = (DialogObject *)cocos2d::CCArray::objectAtIndex(a1->m_dialogObjects, 0);\n    DialogLayer::displayDialogObject(a1, v2);\n    cocos2d::CCArray::removeObjectAtIndex(a1->m_dialogObjects, 0, 1);\n    DialogLayer::updateNavButtonFrame(a1);\n  }\n}", "assembly": "; \n; DialogLayer::displayNextObject from 0x1400d3a40 to 0x1400d3a99 (89 bytes)\n; \n; 3 xrefs:\n; > DialogLayer::init @ 0x1400d39ef\n; > DialogLayer::handleDialogTap @ 0x1400d3f86\n; > <???> @ 0x1406c864c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1400d3a40\nsub     rsp, 20h                                                       ; +0x2, 0x1400d3a42\nmov     rbx, rcx                                                       ; +0x6, 0x1400d3a46\nmov     rcx, [rcx+250h]                                                ; +0x9, 0x1400d3a49\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x10, 0x1400d3a50\ntest    eax, eax                                                       ; +0x16, 0x1400d3a56\njz      short loc_1400D3A93                                            ; +0x18, 0x1400d3a58\nmov     rcx, [rbx+250h]                                                ; +0x1a, 0x1400d3a5a\nxor     edx, edx                                                       ; +0x21, 0x1400d3a61\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x23, 0x1400d3a63\nmov     rdx, rax                                                       ; +0x29, 0x1400d3a69\nmov     rcx, rbx                                                       ; +0x2c, 0x1400d3a6c\ncall    DialogLayer__displayDialogObject                               ; +0x2f, 0x1400d3a6f\nmov     rcx, [rbx+250h]                                                ; +0x34, 0x1400d3a74\nmov     r8b, 1                                                         ; +0x3b, 0x1400d3a7b\nxor     edx, edx                                                       ; +0x3e, 0x1400d3a7e\ncall    cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x40, 0x1400d3a80\nmov     rcx, rbx                                                       ; +0x46, 0x1400d3a86\nadd     rsp, 20h                                                       ; +0x49, 0x1400d3a89\npop     rbx                                                            ; +0x4d, 0x1400d3a8d\njmp     DialogLayer__updateNavButtonFrame                              ; +0x4e, 0x1400d3a8e\nadd     rsp, 20h                                                       ; +0x53, 0x1400d3a93\npop     rbx                                                            ; +0x57, 0x1400d3a97\nretn                                                                   ; +0x58, 0x1400d3a98", "xrefs": ["DialogLayer::init @ 0x1400d39ef", "DialogLayer::handleDialogTap @ 0x1400d3f86", "<???> @ 0x1406c864c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}