{"type": "func", "start": 4296159728, "end": 4296159862, "name": "GJBaseGameLayer::playerIntersectsCircle", "pseudocode": "// \n// GJBaseGameLayer::playerIntersectsCircle from 0x1001231f0 to 0x100123276 (134 bytes)\n// \n// 0 xrefs:\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\nbool __fastcall GJBaseGameLayer::playerIntersectsCircle(GJBaseGameLayer *a1, PlayerObject *a2, GameObject *a3)\n{\n  const cocos2d::CCPoint *v4; // r15\n  __int64 v5; // rax\n  cocos2d::CCPoint v7; // [rsp+0h] [rbp-30h] BYREF\n  float v8; // [rsp+8h] [rbp-28h]\n  float ObjectRadius; // [rsp+Ch] [rbp-24h]\n\n  v4 = (const cocos2d::CCPoint *)((__int64 (__fastcall *)(PlayerObject *))a2->getPosition)(a2);\n  ((void (__fastcall *)(cocos2d::CCPoint *, GameObject *))a3->getRealPosition)(&v7, a3);\n  v8 = cocos2d::ccpDistance(v4, &v7);\n  ObjectRadius = GameObject::getObjectRadius(a3);\n  v5 = ((__int64 (__fastcall *)(PlayerObject *))a2->getObjectRect)(a2);\n  return (float)((float)(*(float *)(v5 + 8) * 0.5) + ObjectRadius) >= v8;\n}", "assembly": "; \n; GJBaseGameLayer::playerIntersectsCircle from 0x1001231f0 to 0x100123276 (134 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x1001231f0\nmov     rbp, rsp                                                       ; +0x1, 0x1001231f1\npush    r15                                                            ; +0x4, 0x1001231f4\npush    r14                                                            ; +0x6, 0x1001231f6\npush    r12                                                            ; +0x8, 0x1001231f8\npush    rbx                                                            ; +0xa, 0x1001231fa\nsub     rsp, 10h                                                       ; +0xb, 0x1001231fb\nmov     rbx, rdx                                                       ; +0xf, 0x1001231ff\nmov     r14, rsi                                                       ; +0x12, 0x100123202\nmov     rax, [rsi]                                                     ; +0x15, 0x100123205\nmov     rdi, rsi                                                       ; +0x18, 0x100123208\ncall    qword ptr [rax+0C0h]                                           ; +0x1b, 0x10012320b\nmov     r15, rax                                                       ; +0x21, 0x100123211\nmov     rax, [rbx]                                                     ; +0x24, 0x100123214\nlea     r12, [rbp+var_30]                                              ; +0x27, 0x100123217\nmov     rdi, r12                                                       ; +0x2b, 0x10012321b\nmov     rsi, rbx                                                       ; +0x2e, 0x10012321e\ncall    qword ptr [rax+540h]                                           ; +0x31, 0x100123221\nmov     rdi, r15                                                       ; +0x37, 0x100123227\nmov     rsi, r12                                                       ; +0x3a, 0x10012322a\ncall    cocos2d__ccpDistance                                           ; +0x3d, 0x10012322d\nmovss   [rbp+var_28], xmm0                                             ; +0x42, 0x100123232\nmov     rdi, rbx                                                       ; +0x47, 0x100123237\ncall    GameObject__getObjectRadius                                    ; +0x4a, 0x10012323a\nmovss   [rbp+var_24], xmm0                                             ; +0x4f, 0x10012323f\nmov     rax, [r14]                                                     ; +0x54, 0x100123244\nmov     rdi, r14                                                       ; +0x57, 0x100123247\ncall    qword ptr [rax+520h]                                           ; +0x5a, 0x10012324a\nmovss   xmm0, dword ptr [rax+8]                                        ; +0x60, 0x100123250\nmulss   xmm0, cs:dword_100814FA8                                       ; +0x65, 0x100123255\naddss   xmm0, [rbp+var_24]                                             ; +0x6d, 0x10012325d\nucomiss xmm0, [rbp+var_28]                                             ; +0x72, 0x100123262\nsetnb   al                                                             ; +0x76, 0x100123266\nadd     rsp, 10h                                                       ; +0x79, 0x100123269\npop     rbx                                                            ; +0x7d, 0x10012326d\npop     r12                                                            ; +0x7e, 0x10012326e\npop     r14                                                            ; +0x80, 0x100123270\npop     r15                                                            ; +0x82, 0x100123272\npop     rbp                                                            ; +0x84, 0x100123274\nretn                                                                   ; +0x85, 0x100123275", "xrefs": [], "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"}