{"type": "func", "start": 7833720, "end": 7833788, "name": "EmotePickerPopup::keyDown", "pseudocode": "// \n// EmotePickerPopup::keyDown from 0x778878 to 0x7788bc (68 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EmotePickerPopup::keyDown @ 0x7788c0\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:21 +0000\n// \n\nint __fastcall EmotePickerPopup::keyDown(_DWORD *a1, int a2, int a3, int a4)\n{\n  int v9; // r0\n\n  if ( a2 == 27 )\n    return (*(int (__fastcall **)(_DWORD *, _DWORD))(*a1 + 684))(a1, 0);\n  v9 = a1[213];\n  if ( v9 )\n    (*(void (__fastcall **)(int, _DWORD *, int, _DWORD, int, int, int))(*(_DWORD *)v9 + 8))(\n      v9,\n      a1,\n      a2,\n      *(_DWORD *)(*(_DWORD *)v9 + 8),\n      a3,\n      a4,\n      a3);\n  return EditorWindowPopup::keyDown(a1, a2, a3, a4);\n}", "assembly": "; \n; EmotePickerPopup::keyDown from 0x778878 to 0x7788bc (68 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EmotePickerPopup::keyDown @ 0x7788c0\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:21 +0000\n; \nCMP             R1, #0x1B                                              ; +0x0, 0x778878\nPUSH            {R0-R2,R4-R7,LR}                                       ; +0x2, 0x77887a\nMOV             R4, R0                                                 ; +0x4, 0x77887c\nMOV             R5, R1                                                 ; +0x6, 0x77887e\nMOV             R6, R2                                                 ; +0x8, 0x778880\nMOV             R7, R3                                                 ; +0xa, 0x778882\nBNE             loc_778896                                             ; +0xc, 0x778884\nLDR             R3, [R0]                                               ; +0xe, 0x778886\nMOVS            R1, #0                                                 ; +0x10, 0x778888\nLDR.W           R3, [R3,#0x2AC]                                        ; +0x12, 0x77888a\nADD             SP, SP, #0xC                                           ; +0x16, 0x77888e\nPOP.W           {R4-R7,LR}                                             ; +0x18, 0x778890\nBX              R3                                                     ; +0x1c, 0x778894\nLDR.W           R0, [R0,#0x354]                                        ; +0x1e, 0x778896\nCBZ             R0, loc_7788AA                                         ; +0x22, 0x77889a\nLDR             R3, [R0]                                               ; +0x24, 0x77889c\nMOV             R1, R4                                                 ; +0x26, 0x77889e\nSTRD.W          R6, R7, [SP,#0xC+var_C]                                ; +0x28, 0x7788a0\nMOV             R2, R5                                                 ; +0x2c, 0x7788a4\nLDR             R3, [R3,#8]                                            ; +0x2e, 0x7788a6\nBLX             R3                                                     ; +0x30, 0x7788a8\nMOV             R0, R4                                                 ; +0x32, 0x7788aa\nMOV             R1, R5                                                 ; +0x34, 0x7788ac\nMOV             R2, R6                                                 ; +0x36, 0x7788ae\nMOV             R3, R7                                                 ; +0x38, 0x7788b0\nADD             SP, SP, #0xC                                           ; +0x3a, 0x7788b2\nPOP.W           {R4-R7,LR}                                             ; +0x3c, 0x7788b4\nB.W             _ZN17EditorWindowPopup7keyDownEN7cocos2d12enumKeyCodesEd; EditorWindowPopup::keyDown(cocos2d::enumKeyCodes,double) ; +0x40, 0x7788b8", "xrefs": ["`non-virtual thunk to'EmotePickerPopup::keyDown @ 0x7788c0"], "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"}