{"type": "func", "start": 3982284, "end": 3982326, "name": "FLAlertLayer::keyDown", "pseudocode": "// \n// FLAlertLayer::keyDown from 0x3cc3cc to 0x3cc3f6 (42 bytes)\n// \n// 7 xrefs:\n// > `non-virtual thunk to'FLAlertLayer::keyDown @ 0x3cc3fa\n// > CreateGuidelinesLayer::keyDown @ 0x3f7a1e\n// > InfoLayer::keyDown @ 0x540b2a\n// > NewsPopup::keyDown @ 0x6c276e\n// > NewThreadPopup::keyDown @ 0x75531e\n// > ThreadViewPopup::keyDown @ 0x75df36\n// > DeathTrackerPopup::keyDown @ 0x775242\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:46:38 +0000\n// \n\nFLAlertLayer *__fastcall FLAlertLayer::keyDown(FLAlertLayer *result, int a2)\n{\n  if ( a2 == 32 )\n  {\n    if ( !*((_BYTE *)result + 497) )\n      return result;\n    return (FLAlertLayer *)FLAlertLayer::onButtonTag(result, 1);\n  }\n  if ( a2 == 1007 )\n    return (FLAlertLayer *)FLAlertLayer::onButtonTag(result, 1);\n  return (FLAlertLayer *)cocos2d::CCLayer::keyDown();\n}", "assembly": "; \n; FLAlertLayer::keyDown from 0x3cc3cc to 0x3cc3f6 (42 bytes)\n; \n; 7 xrefs:\n; > `non-virtual thunk to'FLAlertLayer::keyDown @ 0x3cc3fa\n; > CreateGuidelinesLayer::keyDown @ 0x3f7a1e\n; > InfoLayer::keyDown @ 0x540b2a\n; > NewsPopup::keyDown @ 0x6c276e\n; > NewThreadPopup::keyDown @ 0x75531e\n; > ThreadViewPopup::keyDown @ 0x75df36\n; > DeathTrackerPopup::keyDown @ 0x775242\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:46:38 +0000\n; \nCMP             R1, #0x20 ; ' '                                        ; +0x0, 0x3cc3cc\nPUSH            {R4,R5,LR}                                             ; +0x2, 0x3cc3ce\nBEQ             loc_3CC3DC                                             ; +0x4, 0x3cc3d0\nMOVW            R5, #0x3EF                                             ; +0x6, 0x3cc3d2\nCMP             R1, R5                                                 ; +0xa, 0x3cc3d6\nBNE             loc_3CC3EC                                             ; +0xc, 0x3cc3d8\nB               loc_3CC3E2                                             ; +0xe, 0x3cc3da\nLDRB.W          R3, [R0,#0x1F1]                                        ; +0x10, 0x3cc3dc\nCBZ             R3, locret_3CC3F4                                      ; +0x14, 0x3cc3e0\nMOVS            R1, #1; int                                            ; +0x16, 0x3cc3e2\nPOP.W           {R4,R5,LR}                                             ; +0x18, 0x3cc3e4\nB.W             _ZN12FLAlertLayer11onButtonTagEi; FLAlertLayer::onButtonTag(int) ; +0x1c, 0x3cc3e8\nPOP.W           {R4,R5,LR}                                             ; +0x20, 0x3cc3ec\nB.W             _ZN7cocos2d7CCLayer7keyDownENS_12enumKeyCodesEd; cocos2d::CCLayer::keyDown(cocos2d::enumKeyCodes,double) ; +0x24, 0x3cc3f0\nPOP             {R4,R5,PC}                                             ; +0x28, 0x3cc3f4", "xrefs": ["`non-virtual thunk to'FLAlertLayer::keyDown @ 0x3cc3fa", "CreateGuidelinesLayer::keyDown @ 0x3f7a1e", "InfoLayer::keyDown @ 0x540b2a", "NewsPopup::keyDown @ 0x6c276e", "NewThreadPopup::keyDown @ 0x75531e", "ThreadViewPopup::keyDown @ 0x75df36", "DeathTrackerPopup::keyDown @ 0x775242"], "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"}