{"type": "func", "start": 13340072, "end": 13340176, "name": "EmotePickerPopup::onClose", "pseudocode": "// \n// EmotePickerPopup::onClose from 0xcb8da8 to 0xcb8e10 (104 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x99fd0\n// > <???> @ 0x14fa2f8\n// \n// This function is hookable on this platform (idp: arm, 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 13:06:13 +0000\n// \n\n__int64 __fastcall EmotePickerPopup::onClose(EmotePickerPopup *this, cocos2d::CCObject *a2)\n{\n  __int64 v4; // x0\n  void (__fastcall ***v5)(_QWORD, EmotePickerPopup *); // x2\n\n  v4 = *((_QWORD *)this + 146);\n  if ( v4 && *(EmotePickerPopup **)(v4 + 496) == (EmotePickerPopup *)((char *)this + 544) )\n    *(_QWORD *)(v4 + 496) = 0;\n  v5 = *((void (__fastcall ****)(_QWORD, EmotePickerPopup *))this + 148);\n  if ( v5 )\n  {\n    *((_QWORD *)this + 148) = 0;\n    (**v5)(v5, this);\n  }\n  return EditorWindowPopup::onClose(this, a2);\n}", "assembly": "; \n; EmotePickerPopup::onClose from 0xcb8da8 to 0xcb8e10 (104 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x99fd0\n; > <???> @ 0x14fa2f8\n; \n; This function is hookable on this platform (idp: arm, 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 13:06:13 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xcb8da8\nMOV             X29, SP                                                ; +0x4, 0xcb8dac\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xcb8db0\nMOV             X19, X0                                                ; +0xc, 0xcb8db4\nMOV             X20, X1                                                ; +0x10, 0xcb8db8\nLDR             X0, [X0,#0x490]                                        ; +0x14, 0xcb8dbc\nCBZ             X0, loc_CB8DD4                                         ; +0x18, 0xcb8dc0\nLDR             X2, [X0,#0x1F0]                                        ; +0x1c, 0xcb8dc4\nADD             X1, X19, #0x220                                        ; +0x20, 0xcb8dc8\nCMP             X2, X1                                                 ; +0x24, 0xcb8dcc\nB.EQ            loc_CB8E08                                             ; +0x28, 0xcb8dd0\nLDR             X2, [X19,#0x4A0]                                       ; +0x2c, 0xcb8dd4\nCBZ             X2, loc_CB8DF4                                         ; +0x30, 0xcb8dd8\nSTR             XZR, [X19,#0x4A0]                                      ; +0x34, 0xcb8ddc\nMOV             X0, X2                                                 ; +0x38, 0xcb8de0\nMOV             X1, X19                                                ; +0x3c, 0xcb8de4\nLDR             X2, [X2]                                               ; +0x40, 0xcb8de8\nLDR             X2, [X2]                                               ; +0x44, 0xcb8dec\nBLR             X2                                                     ; +0x48, 0xcb8df0\nMOV             X0, X19; this                                          ; +0x4c, 0xcb8df4\nMOV             X1, X20; cocos2d::CCObject *                           ; +0x50, 0xcb8df8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x54, 0xcb8dfc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x58, 0xcb8e00\nB               _ZN17EditorWindowPopup7onCloseEPN7cocos2d8CCObjectE; EditorWindowPopup::onClose(cocos2d::CCObject *) ; +0x5c, 0xcb8e04\nSTR             XZR, [X0,#0x1F0]                                       ; +0x60, 0xcb8e08\nB               loc_CB8DD4                                             ; +0x64, 0xcb8e0c", "xrefs": ["<???> @ 0x99fd0", "<???> @ 0x14fa2f8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}