{"type": "func", "start": 6443188640, "end": 6443188698, "name": "cocos2d::CCKeypadHandler::initWithDelegate", "pseudocode": "// \n// cocos2d::CCKeypadHandler::initWithDelegate from 0x1800b41a0 to 0x1800b41da (58 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCKeypadHandler::handlerWithDelegate @ 0x1800b4126\n// > <???> @ 0x180106698\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b8820\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\nchar __fastcall cocos2d::CCKeypadHandler::initWithDelegate(\n        cocos2d::CCKeypadHandler *this,\n        struct cocos2d::CCKeypadDelegate *a2)\n{\n  cocos2d::CCObject *v2; // rax\n\n  *((_QWORD *)this + 7) = a2;\n  v2 = (cocos2d::CCObject *)_RTDynamicCast(\n                              a2,\n                              0,\n                              &cocos2d::CCKeypadDelegate `RTTI Type Descriptor',\n                              &cocos2d::CCObject `RTTI Type Descriptor',\n                              0);\n  cocos2d::CCObject::retain(v2);\n  return 1;\n}", "assembly": "; \n; cocos2d::CCKeypadHandler::initWithDelegate from 0x1800b41a0 to 0x1800b41da (58 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCKeypadHandler::handlerWithDelegate @ 0x1800b4126\n; > <???> @ 0x180106698\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b8820\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\nsub     rsp, 38h                                                       ; +0x0, 0x1800b41a0\nmov     rax, rdx                                                       ; +0x4, 0x1800b41a4\nmov     [rcx+38h], rdx                                                 ; +0x7, 0x1800b41a7\nmov     rcx, rax                                                       ; +0xb, 0x1800b41ab\nmov     [rsp+38h+var_18], 0                                            ; +0xe, 0x1800b41ae\nlea     r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x16, 0x1800b41b6\nxor     edx, edx                                                       ; +0x1d, 0x1800b41bd\nlea     r8, ??_R0?AVCCKeypadDelegate@cocos2d@@@8; cocos2d::CCKeypadDelegate `RTTI Type Descriptor' ; +0x1f, 0x1800b41bf\ncall    __RTDynamicCast                                                ; +0x26, 0x1800b41c6\nmov     rcx, rax; this                                                 ; +0x2b, 0x1800b41cb\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x2e, 0x1800b41ce\nmov     al, 1                                                          ; +0x33, 0x1800b41d3\nadd     rsp, 38h                                                       ; +0x35, 0x1800b41d5\nretn                                                                   ; +0x39, 0x1800b41d9", "xrefs": ["cocos2d::CCKeypadHandler::handlerWithDelegate @ 0x1800b4126", "<???> @ 0x180106698", "<???> @ 0x1801438a8", "<???> @ 0x1801b8820"], "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"}