{"type": "func", "start": 3062108, "end": 3062150, "name": "FLAlertLayer::keyDown", "pseudocode": "// \n// FLAlertLayer::keyDown from 0x2eb95c to 0x2eb986 (42 bytes)\n// \n// 2 xrefs:\n// > `non-virtual thunk to'FLAlertLayer::keyDown @ 0x2eb98a\n// > CreateGuidelinesLayer::keyDown @ 0x3088ae\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 FLAlertLayer::keyDown(FLAlertLayer *a1, cocos2d::enumKeyCodes a2, double a3)\n{\n  if ( a2 == KEY_Space )\n  {\n    if ( !a1->m_noAction )\n      return;\n    goto LABEL_5;\n  }\n  if ( a2 == CONTROLLER_X )\n  {\nLABEL_5:\n    FLAlertLayer::onBtn2(a1, nullptr);\n    return;\n  }\n  cocos2d::CCLayer::keyDown(a1, a2, a3);\n}", "assembly": "; \n; FLAlertLayer::keyDown from 0x2eb95c to 0x2eb986 (42 bytes)\n; \n; 2 xrefs:\n; > `non-virtual thunk to'FLAlertLayer::keyDown @ 0x2eb98a\n; > CreateGuidelinesLayer::keyDown @ 0x3088ae\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\nCMP             R1, #0x20 ; ' '                                        ; +0x0, 0x2eb95c\nPUSH            {R4,R5,LR}                                             ; +0x2, 0x2eb95e\nBEQ             loc_2EB96C                                             ; +0x4, 0x2eb960\nMOVW            R5, #0x3EF                                             ; +0x6, 0x2eb962\nCMP             R1, R5                                                 ; +0xa, 0x2eb966\nBNE             loc_2EB97C                                             ; +0xc, 0x2eb968\nB               loc_2EB972                                             ; +0xe, 0x2eb96a\nLDRB.W          R3, [R0,#0x1E5]                                        ; +0x10, 0x2eb96c\nCBZ             R3, locret_2EB984                                      ; +0x14, 0x2eb970\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x16, 0x2eb972\nPOP.W           {R4,R5,LR}                                             ; +0x18, 0x2eb974\nB.W             _ZN12FLAlertLayer6onBtn2EPN7cocos2d8CCObjectE; FLAlertLayer::onBtn2(cocos2d::CCObject *) ; +0x1c, 0x2eb978\nPOP.W           {R4,R5,LR}                                             ; +0x20, 0x2eb97c\nB.W             _ZN7cocos2d7CCLayer7keyDownENS_12enumKeyCodesEd; cocos2d::CCLayer::keyDown(cocos2d::enumKeyCodes,double) ; +0x24, 0x2eb980\nPOP             {R4,R5,PC}                                             ; +0x28, 0x2eb984", "xrefs": ["`non-virtual thunk to'FLAlertLayer::keyDown @ 0x2eb98a", "CreateGuidelinesLayer::keyDown @ 0x3088ae"], "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"}