; ; CCTextInputNode::keyboardWillShow from 0x595270 to 0x595378 (264 bytes) ; ; 3 xrefs: ; > `non-virtual thunk to'CCTextInputNode::keyboardWillShow @ 0x59537c ; > @ 0x50328 ; > @ 0x1141330 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; STP X29, X30, [SP,#var_60]! ; +0x0, 0x595270 MOV X29, SP ; +0x4, 0x595274 STP X19, X20, [SP,#0x60+var_50] ; +0x8, 0x595278 ADRP X19, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x59527c MOV X20, X0 ; +0x10, 0x595280 LDRB W0, [X0,#0x21A] ; +0x14, 0x595284 STP X21, X22, [SP,#0x60+var_40] ; +0x18, 0x595288 LDR X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x59528c STR X23, [SP,#0x60+var_30] ; +0x20, 0x595290 STR D8, [SP,#0x60+var_28] ; +0x24, 0x595294 LDR X2, [X2] ; +0x28, 0x595298 STR X2, [X29,#0x60+var_8] ; +0x2c, 0x59529c CBNZ W0, loc_5952B4 ; +0x30, 0x5952a0 LDR X0, [X20,#0x1F8] ; +0x34, 0x5952a4 CBZ X0, loc_5952B4 ; +0x38, 0x5952a8 LDRB W2, [X20,#0x1BC] ; +0x3c, 0x5952ac CBNZ W2, loc_5952E0 ; +0x40, 0x5952b0 LDR X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x44, 0x5952b4 LDR X1, [X29,#0x60+var_8] ; +0x48, 0x5952b8 LDR X0, [X19] ; +0x4c, 0x5952bc CMP X1, X0 ; +0x50, 0x5952c0 B.NE loc_595374 ; +0x54, 0x5952c4 LDP X19, X20, [SP,#0x60+var_50] ; +0x58, 0x5952c8 LDP X21, X22, [SP,#0x60+var_40] ; +0x5c, 0x5952cc LDR X23, [SP,#0x60+var_30] ; +0x60, 0x5952d0 LDR D8, [SP,#0x60+var_28] ; +0x64, 0x5952d4 LDP X29, X30, [SP+0x60+var_60],#0x60 ; +0x68, 0x5952d8 RET ; +0x6c, 0x5952dc LDR X2, [X0] ; +0x70, 0x5952e0 ADD X21, X1, #0x10 ; +0x74, 0x5952e4 ADD X22, X29, #0x60+var_20 ; +0x78, 0x5952e8 ADD X23, X29, #0x60+var_18 ; +0x7c, 0x5952ec LDR X1, [X2,#0x120] ; +0x80, 0x5952f0 BLR X1 ; +0x84, 0x5952f4 MOV X1, X0; cocos2d::CCPoint * ; +0x88, 0x5952f8 MOV X0, X22; this ; +0x8c, 0x5952fc BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x90, 0x595300 MOV X8, X23 ; +0x94, 0x595304 MOV X0, X20 ; +0x98, 0x595308 MOV X1, X22 ; +0x9c, 0x59530c BL sub_5951D8 ; +0xa0, 0x595310 LDR S0, [X29,#0x60+var_14] ; +0xa4, 0x595314 MOV X0, X23; this ; +0xa8, 0x595318 FMOV S1, #4.0 ; +0xac, 0x59531c MOV X1, X21; cocos2d::CCRect * ; +0xb0, 0x595320 FSUB S0, S0, S1 ; +0xb4, 0x595324 STR S0, [X29,#0x60+var_14] ; +0xb8, 0x595328 BL _ZNK7cocos2d6CCRect14intersectsRectERKS0_; cocos2d::CCRect::intersectsRect(cocos2d::CCRect const&) ; +0xbc, 0x59532c UXTB W0, W0 ; +0xc0, 0x595330 CBZ W0, loc_5952B4 ; +0xc4, 0x595334 MOV W1, #1 ; +0xc8, 0x595338 MOV X0, X21; this ; +0xcc, 0x59533c STRB W1, [X20,#0x1BD] ; +0xd0, 0x595340 BL _ZNK7cocos2d6CCRect7getMaxYEv; cocos2d::CCRect::getMaxY(void) ; +0xd4, 0x595344 FMOV S8, S0 ; +0xd8, 0x595348 MOV X0, X23; this ; +0xdc, 0x59534c BL _ZNK7cocos2d6CCRect7getMinYEv; cocos2d::CCRect::getMinY(void) ; +0xe0, 0x595350 LDR X0, [X20,#0x200] ; +0xe4, 0x595354 FSUB S0, S8, S0 ; +0xe8, 0x595358 CBZ X0, loc_5952B4 ; +0xec, 0x59535c LDR X2, [X0] ; +0xf0, 0x595360 MOV X1, X20 ; +0xf4, 0x595364 LDR X2, [X2,#0x18] ; +0xf8, 0x595368 BLR X2 ; +0xfc, 0x59536c B loc_5952B4 ; +0x100, 0x595370 BL .__stack_chk_fail ; +0x104, 0x595374