{"type": "func", "start": 4298423812, "end": 4298423912, "name": "FLAlertLayer::keyboardRaise", "pseudocode": "// \n// FLAlertLayer::keyboardRaise from 0x10034be04 to 0x10034be68 (100 bytes)\n// \n// 7 xrefs:\n// > SetIDPopup::init @ 0x10037b128\n// > sub_10037C930 @ 0x10037ca70\n// > DeathStatsPopup::init @ 0x1004b81d8\n// > sub_100510CBC @ 0x100510cfc\n// > ThreadSearchPopup::init @ 0x1005119fc\n// > sub_1005401F4 @ 0x1005402cc\n// > sub_10054BC54 @ 0x10054bd94\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 11:03:17 +0000\n// \n\nfloat __fastcall FLAlertLayer::keyboardRaise(float a1, float a2)\n{\n  __int64 v4; // x0\n  float v5; // s0\n  __int64 v7; // [xsp+8h] [xbp-18h] BYREF\n\n  v4 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize(v4, &v7);\n  v5 = (float)(*((float *)&v7 + 1) - (float)((float)(a1 * 0.5) + (float)(*((float *)&v7 + 1) * 0.5))) + -15.0;\n  if ( v5 >= a2 )\n    v5 = a2;\n  return fmaxf(v5, 0.0);\n}", "assembly": "; \n; FLAlertLayer::keyboardRaise from 0x10034be04 to 0x10034be68 (100 bytes)\n; \n; 7 xrefs:\n; > SetIDPopup::init @ 0x10037b128\n; > sub_10037C930 @ 0x10037ca70\n; > DeathStatsPopup::init @ 0x1004b81d8\n; > sub_100510CBC @ 0x100510cfc\n; > ThreadSearchPopup::init @ 0x1005119fc\n; > sub_1005401F4 @ 0x1005402cc\n; > sub_10054BC54 @ 0x10054bd94\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 11:03:17 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x10034be04\nSTP             D9, D8, [SP,#0x20+var_10]                              ; +0x4, 0x10034be08\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10034be0c\nADD             X29, SP, #0x20                                         ; +0xc, 0x10034be10\nFMOV            S8, S1                                                 ; +0x10, 0x10034be14\nFMOV            S9, S0                                                 ; +0x14, 0x10034be18\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x18, 0x10034be1c\nADD             X8, SP, #0x20+var_18                                   ; +0x1c, 0x10034be20\nBL              cocos2d__CCDirector__getWinSize                        ; +0x20, 0x10034be24\nLDR             S0, [SP,#0x20+var_14]                                  ; +0x24, 0x10034be28\nFMOV            S1, #0.5                                               ; +0x28, 0x10034be2c\nFMUL            S2, S0, S1                                             ; +0x2c, 0x10034be30\nFMUL            S1, S9, S1                                             ; +0x30, 0x10034be34\nFADD            S1, S1, S2                                             ; +0x34, 0x10034be38\nFSUB            S0, S0, S1                                             ; +0x38, 0x10034be3c\nFMOV            S1, #-15.0                                             ; +0x3c, 0x10034be40\nFADD            S0, S0, S1                                             ; +0x40, 0x10034be44\nFCMP            S0, S8                                                 ; +0x44, 0x10034be48\nFCSEL           S0, S0, S8, MI                                         ; +0x48, 0x10034be4c\nFMOV            S1, WZR                                                ; +0x4c, 0x10034be50\nFMAXNM          S0, S0, S1                                             ; +0x50, 0x10034be54\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x54, 0x10034be58\nLDP             D9, D8, [SP,#0x20+var_10]                              ; +0x58, 0x10034be5c\nADD             SP, SP, #0x30 ; '0'                                    ; +0x5c, 0x10034be60\nRET                                                                    ; +0x60, 0x10034be64", "xrefs": ["SetIDPopup::init @ 0x10037b128", "sub_10037C930 @ 0x10037ca70", "DeathStatsPopup::init @ 0x1004b81d8", "sub_100510CBC @ 0x100510cfc", "ThreadSearchPopup::init @ 0x1005119fc", "sub_1005401F4 @ 0x1005402cc", "sub_10054BC54 @ 0x10054bd94"], "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"}